protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		DBConnection c = (DBConnection) getServletContext().getAttribute("connection");
		Connection con = c.getConnection();
		User user = (User) request.getSession().getAttribute("user"); //TODO: Ask Bryant about this
		int userId = user.getId();
		try {
			
			int quizId = Quiz.createQuiz(con, request.getParameter("title"), request.getParameter("description"), userId,
					request.getParameter("randomized") != null, request.getParameter("multiple_pages") != null,
					request.getParameter("immediate_feedback") != null, request.getParameter("practice_mode") != null);
			request.getSession().setAttribute("quiz-id", quizId);
			request.getSession().setAttribute("question-num", 1);
			RequestDispatcher dispatch = request.getRequestDispatcher("add_quiz_question.jsp");
			dispatch.forward(request, response);
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			request.setAttribute("SQLerror", "Oops, it looks like there was an error and your question didn't save.  Please try again.");
			RequestDispatcher dispatch = request.getRequestDispatcher("add_quiz_question.jsp");
			dispatch.forward(request, response);
		}
		
	}