tweaked the app.use call to provide only a function for the root