protect dynamic routes in the middleware - Nuxt