typo fixed: User::getIntOption returns an integer, not a boolean