Fix logout action