LocalStorage to all db operations