use clientid instead of userid