added destroying and editing categories