simple database using localStore