Edit profile and navbar refactoring.