Fix users serialize/deserialize bug