updated and cleaned up the UserAccountsSerialized class

added a private method and cleaned up the process