added delete function and display contact and put in id count