added logout
Merge pull request #6 from CS2014/ross

added logout