added function to search for player by name in a list