added server verification