adding login-logout buttons