add local database support,fix personal information bug