beginning of 8.2.4
Finish log in/log out