change couchdb::adduser to use couchdb::document instead of couchdb::update