change value of custom type to use username instead of user_id