logout working, found a thread error on sleep
auto log out working 100%
Merge pull request #3 from parkjohnston/logout

Logout