added pages from database