Applying correct header on controller