Update to the login procedure.