update login/logout button