These need to be moved above `app.use(routes)` so they will be applied to the `req` before it hits the routes