ajax for adding a tournament