Add method 'get_all_category' to fetch all category data.