configuration using localstorage