add queries for open and closed enrollment for sections resource