Fixed serialization bug and changed username attribution.