adding logout action