send player data through ajax