Added log out functionality.
Merge pull request #627 from Dajo90/Logout

Added log out functionality.