iterates through json for users