Added security/userid filtering.