New function isValidUserid() introduced, more rewrites to EL: