RAVE-1095 | Updated the method signature for the login function to include access to the model and the HttpServletRequest