added login and logout buttons