Added confirmation link email functionality