Adds profile view refactoring