Bug fixes for user profile.