allow warning message on logout