Connection Stuff and displaying first array