Switched to sessionStorage instead of localStorage. Also no longer storing other data in the session, except for user credentials.