adding login and logout buttons