Modify login() method on