Replaced barclamp controller initializer with before filter