process all response from server