router addRoute can now use an array of middlewares