Implement bootstrap pagination for front end