username and password validation works
login validation with error message working