working add from singleObject
created userData.js file, creates global userData object