#9 - logout functionality.