Changed session storage to local storage internally