title: Retrieve Just JWT token from sessionStorage
body: <p>I have a value inside <strong>sessionStorage</strong> called <strong>user</strong> which contains amongst other info the JWT token. How do I isolate just the <strong>JWT</strong> token from the value using <strong>javascript</strong>?</p>
  <pre><code>user = sessionStorage.getItem('user');
  value = JSON.parse(user)
  value.token
  </code></pre>
  <p>Is there a way to perform this cleaner?</p>