usercode preference