Add logout functionality
Merge pull request #2 from harryfinn/logout

Add logout functionality