Added pagination to home page