re-add delete function to members edit page