refactored profile and my profile