added pagination and some CSS