Converted TodoController to TodoHub