Refactoring "Profile page"