merging index and todo_form into 1 view