add in categories model plus pagination