first draft of authentication chapter