added entering quiz functionality