new ajax db connection in index.php