changed from sql to sqli connect