Use get/set userinfo function from cod itself (error fix)