Adds headers to the protected views