Another step towards login.
Adds logout.