Added client authentication