Todo backend functions complete