Links navbar to the profile page and settings pages.