Added pagination for homepage