Chapter 10 finished.

Added authentication.