add prettier pagination and a footer