Add response handler