implemented checking against content-type-names
implemented checking against loginnames