remove login() method.