assigns user provider id in registration