add add todo function
add delete method