Storing session id in localStorage instead of session storage
(to keep it active for longer and make it work in multiple tabs/windows)