continued transition to pouchdb, including lockit authentication