I need to check authorization. To do this, I make a request to the server. Further, depending on the answer, I want to manage the flag from the storage via router.beforeEach