All Connect Function Working and Setting Globals