refactored profile views