Added LogoutHook