corrected authenticated connection example and rebuilt doc page