changed LoginValidation.java to differentiate between username or password error