switch login and logout button