Added flashMessage into handle lognout