Nuxt isauthenticated. js and check them in the middleware.