Login request handler and wrapper