adding player_name form and included code to handle empty name string