Allowing deletion of todos and confiuring the routes