added pagination and seeded database