Removing the login manager that is not going to be used.