case for deactivate route when creating new todo record