trans for login/logout