logout and cabinet in deanery