Profile page added. Refactoring.