add header controller and set header to request