insertion of mysqli_close($con) to secure and close mysql connection