Added functionality to view all categories