fix logout action