Publisher adding page should now be debugged. Still need to fix the issue with null id.