added validation and clarity for delete category functionality