Added a simple form of pagination, and separate page for posts too