User serialization