end of Ch 8 - login, logout