Refactored profile view