only show wagtailuserbar if page.id is defined - prevents error when previewing during page creation