created delete player function
allowed checkbox to delete