linked auth to couchdb