adding before filter for specifying content type