store a name in localstorage