adds pagination service and empty list message