don't expose the preview view too much: user must be logged first
ensure that js and css are correctly included in the page headers