Added Logout Functionality fixes #1

Fixes Issue #1 regarding logout functionality