Updated mysqli_connect and query modiefied accordingly.

Updated mysqli_connect and query modiefied accordingly.
Angular libraries components updated.