add localstorage adapter