fix user serialization

user serialization now works