Added Logout function
Merge pull request #15 from chinmaydd/master

Added Logout function