fixed tournamentData undefined, added logging of POST