created userData.js file, creates global userData object