added pagination using kiminari gem