Fixed null user issue in confirm_email()
docs