Moved set of perPage value to render method