Hi! It must have been very difficult for you to see your baby in difficulty.
1) Get a urine routine microscopy and urine culture from a reputed pathologist not a lab technician' automated lab.
2) check if whitish curd like discharge is coming out from urine area.
3) not all urine infections are bacterial, some could be due to other organisms such as viruses ( self limiting) and fungi hence antibiotics don't work on them.
Next Steps
Follow up with report.
Health Tips
Don't use commercial diapers. use cotton cloth diapers.