Remade templates
Remade paginator