Added code that emails the private link to the user upon registration.