adding quiz to database