Adding ChannelController code to make test pass