Added hooks to allow securing of exstatic pages controller