Added page controller to demo page to remind me it's there
Include prelude and all helpers by default
Added function guard in pubsub dispatch