added csrf back into Metric forms

Change-Id: I25deb7f64a538e205c49bf0d058b3d6cc729cef9