plumb query through to principal and message services