Account should exist for a user before the profile page is invoked

Closes ndlib/planning#349
Merge pull request #338 from projecthydra/349-logging-out-during-profile-causes-problem

Account should exist for a user before the profile page is invoked