fix sign out event and notification