added pagination and bootstrap pagination