hashCode() and equals() implemented for account and poll configurations model classes