index and show view for categories