fix #1445 Update session storage to local storage