made changes to the UserLoginController, so that is will send the
password via a JSON object