add delete functionality for categories