add success? and error? methods to response