Moved connect functionality to Header controller also