init authentication + service definition