adding login and logout links