add tests for user profile page