Fixed the login to use the processed request body