PKDist and registrat merged,few changes in authenticator