add validations for creating a quiz