working on finishing basic auth
changed basic auth to pass the couchdb auth cookie along and use it to save documents