Adjustments in logout