finished adding todo to database