login.html add error message conditional