added logout feature
Merge pull request #15 from rantoniops/alan

added logout feature