Added logout function.
Enable/disable login/logout menu items.
Merge pull request #22 from Zarkonnen/login_logout

Login & logout