update front-end controller to find categories