Added database encryption for local data security