wip refactoring views, fixed the profile view