add a todo controller
view