localstorage and db
localstorage and db