add local data support, which is used as local auth