Added button to login and logout