Added pics controller and make databased data appear on screen