Store results of quiz id database