Add LocalAdapter for localstorage