added user to the data saved with a resource