Add response code checker