added missing before filter in applicaton controller