logout logic cleaned up
Merge pull request #3 from christianstanfield/todos

logout logic cleaned up