Moved session key from sessionStorage to localStorage so multiple tabs work as expected.