Add pagination and unirow template