update to user toString instead of specifying the encoding