adding delete person function