Moving middleware above app.router so it actually gets called.