Added class options to login() and logout()