So very stupid am I

Issue was that I was returning true to the AJAX function not to
validateLogin()