add response time alert middleware