Working on local storage to persist session data.