User authentication explanation added. Refactoring chapter 6 in progress