Adds localstorage adapter