added pagination for room