Changed to localstorage adapter
Use localstorage adapter