Security updates -- Added before filter to events and pages controller.