Adding proper login and logout links to the navigation buttons