support methods for login/logout
support methods for login/logout