Auth: code documentation, small changes in examples