hold login, bugs of login, and logout