fix reading length of null value

userInfo.rolesId array is null for banned users