added the part for filter the members by law and repopulated that and updated the package.json so mongoose can use the Model.populate method