refactored profile page.