Updated Connect.php