Changed all middleware from app.use to app.all