Bug in User.js