ajax to create students then redirect to waiting room