adds links to nav-bar partial and toggles log in and log out