redirect from create quiz to course with promise