update: flush localstorage on logout