updated hbs templates to now include pagination functionality