Cleaned up constructor.  Ability to log out.
Merge remote-tracking branch 'upstream/master'
Readded Ketty's method.
Merge pull request #184 from WannabeSid/master

Cleaned up constructor. Ability to log out.