Added status code to the response object