Implemented pagination with kaminari gem