I need to save my session token in localStorage in order to get it back when user reloads the page:
localStorage
window.addEventListener(\'beforeunload\', this.sa