modification to the authentication module.