Added pagination and fixed blog