Added code examples for preauth methods