Adding cluster logout handler.