added pagination for stories using kaminari