added errors message on delete action
add delete method on click
created deleteTodo method for ajax call