implement the getAllCat and the page to show the cat