fixed logout action on menu