more style changes and added pagination