Got login/logout to work.

3:23 AM. Fueled by late-night chatting. #PN