Changed the echo of failed login to see if this helps identify error