Add Logout classes. Fixed #44 Fixed #46