adding registration confirmation stuff