added logout functionality
Merge pull request #14 from paulyi326/dev

added logout functionality