added bind events to add delete and complete todos