added foundation of authentication chapter to docs