use pouchdb server instead