add def resource_response with decorate