connected action like logout to menu