frontend changes, generate email confirmation tokens