updates and new pagination

Now pagination can be overiding with template !