Change the session responses to use the error response