add handler test && register will send mail