login/logout box fix