registration with authentication code