Using sessionStorage instead of localStorage