added localhost connection