fix bug registration, now the registrant receive the email