additional db access methods, additional functionality for quizresult and defining quizstatistic