add client type and verify custom msg for verify function