Fixed capitalization of login() and logout()