Couchdb session

Sessions couchdb solved.