updated user profile page tests for session controller