changed to use local config with admin priviledges for couchdb