Updated for unsecure connection