Needed to add a check for admin when creating the first page.