minor refactor to user profile page from solution