paginator styled and database load