Update users.js

found a better way of doing it