added server and initial auth mechanism