using username to serialize.