add basic middlewares