deleted RedirectMiddleware