updates to global.js + users.js