MT: added in the req in the login callback