sends different response type using the Connect module