Basically upuser is a username variable not userid that old legacy code passes upuser as the userid not username so I simply changed the code to username
Try this
Code:
Content visible to verified customers only.
change to this
Code:
Content visible to verified customers only.