add search to headercontroller and add header to main