Add serialization to file for User and UserGroup