add custom response writer