add client persistence