Fix logout action if user is'nt logged