Add ability for user to logout.  Add more tests.