After upgrading to 5.1, you still see the old masthead.
To troubleshoot this issue, on the Home page, click Branding > Reset to Defaults.