setup authentication service