do not hide loading dialog until after we get the user profile to check for username
Merge pull request #821 from jay-hodgson/develop

merge fix from release-27