Add middleware configurations, request logs