Added sign in/out. Chapter 8