Redirecting middlware for express