add category controller for front-end