add validateQuestionCategoryAndSubCategory to utils.js