use custom filter to check whether a node is followed by user, and a resource is collected by user