add middleware response_timer