added basic filtering to all CRUDs