Added redirect for quiz/done when the quiz has not been completed