renamed targetuserid to userid