Add some basic middlewares