Correct the showPersonDetails() and handleDelete()