finafinalized adding of quiz and assigning. sync also the ui