Now passing the responseXML to the failed event handler so the front end can display better error messages