Fixing some issues with todo_list controller