Wire up logout