updates main.js
adds new properties in user model