Implemented show and index pages for categories.