if (sessionStorage.getItem('token') !== token) { sessionStorage.setItem('token', token); window.location.reload(true); }