moves unanswered question query into user model, adds checks for unanswered questions when checking the user has taken the quiz