Adding header to maincontroller