Fetching pages from database works.