Making todos endpoints