Added hook to restrict access to quiz only if current user has a category common with a quiz category.