create_todo method created in UI