Uses sessionStorage instead of localStorage