Fix profile view when not logged in.