update passing of userids with parseInt() to ensure they're integers