Moved the resource inside the submitQuizInfo function. Now the resource should create a new quiz in the Quizzes Table, as well as a new row inside the Created_quiz table. Testing now.