Move middlewares to crud router