app: use couchdb for records/users