Correction of logout action