added category removal method to client side