Add localstorage adapter