working basic with db connection and paginated list of PACS