connect to the pics table and make a page to dislplay data