controller for getting children by parent