Replaced redundant table with twig template;preparing for pagination by adding page parm to category url