added a login/logout button