playername function improvement

improved the playername function to allow the player to not upload score