fixed adding users to file