logout function
Merge pull request #6 from Matrickage/logout

logout function