Implemented device listing pagination.