added the check for practice mode in QuizResultsServlet