added tableview delegate methods to display todos