Added error handling if a quizid that does not exist is requested