Issue #23 : better login logout workflow
Issue #23 : better login logout workflow