store inputs in localstorage.