@Override public boolean equals(Object o){
  if (this == o) {
    return true;
  }
  if (!(o instanceof Account)) {
    return false;
  }
  Account account=(Account)o;
  if (name != null ? !name.equals(account.name) : account.name != null) {
    return false;
  }
  return !(passwordHash != null ? !passwordHash.equals(account.passwordHash) : account.passwordHash != null);
}

@ Override public boolean equals ( Object o ) { if ( this == o ) { return true ; } if ( ! ( o instanceof Account ) ) { return false ; } Account account = ( Account ) o ; if ( name != null ? ! name . equals ( account . name ) : account . name != null ) { return false ; } return ! ( passwordHash != null ? ! passwordHash . equals ( account . passwordHash ) : account . passwordHash != null ) ; }
retunrns true if players name and password has are equals
