added pages collection and changed ID's to be strings