manage accounts with leveldb