the todo editor now works with the mongo database