added before filter also to summary controller