User::validate: intval, not int