change the login listener