Issue #35: Added login/logout.