connected index.php with database