Refactoring new profile page by externalizing sections