How can I execute a function in Nuxt 3 that loads API data (countries, states, some other meta data) if the user is authenticated? I want to do this on every page but API endpoints should be "pinged" only once and it should be called before the page gets rendered. Any ideas?