Now writes new users to resource file