Add search by name method and remove nil value from players array.