adjusted user.js to not require moment.js