working doc auth flow
merged doc changes.