diff --git a/bt5/erp5_egov/ExtensionTemplateItem/ERP5EGov_Extensions.py b/bt5/erp5_egov/ExtensionTemplateItem/ERP5EGov_Extensions.py
new file mode 100644
index 0000000000000000000000000000000000000000..2259b88939cd5f404216d2798b69f424b02dbcee
--- /dev/null
+++ b/bt5/erp5_egov/ExtensionTemplateItem/ERP5EGov_Extensions.py
@@ -0,0 +1,98 @@
+from zLOG import LOG
+
+def sendCrendentialsByEMail(self, login, password, user_email):
+  activity_tool = self.getPortalObject().portal_activities
+  from Products.MailHost.MailHost import MailHostError
+  from Products.CMFActivity.ActivityTool import Message
+  import socket
+  portal = activity_tool.getPortalObject()
+
+  mail_text="""From: %s
+To: %s
+Subject: %s
+
+Thanks for registrering to SAFI, now you can connect in on www.safi.sn with the followin credentials :
+
+Login: %s
+Password: %s
+""" % ('fabien@nexedi.com', user_email, 'your credential for www.safi.sn',
+     login, password)
+
+  try:
+    activity_tool.MailHost.send( mail_text )
+  except (socket.error, MailHostError), message:
+    LOG('ActivityTool.notifyUser', 0, 'Mail containing failure information failed to be sent: %s.' % (message))
+
+def getPoralTypeListForWorkflow(self, workflow):
+  '''
+    return a list of portal_types that use workflow
+  '''
+  pw = self.portal_workflow
+  cbt = pw._chains_by_type
+  ti = pw._listTypeInfo()
+
+  portal_type_list = []
+  for t in ti:
+    id = t.getId()
+    if cbt is not None and cbt.has_key(id) and workflow in cbt[id]:
+      portal_type_list.append(id)
+
+  return portal_type_list
+
+def getPortalTypeWorklistDictForWorkflow(self, workflow):
+  """
+    return a dict containing portal_type and all informations about work_list
+    of workflow :
+
+    { 'Declaration TVA': {  'id':'applications_to_submit',
+                            'description':'Applications to submit',
+                            'validation_state':'draft',
+                            'formated_name':'Applications to submit (%(count)s)'
+                            'formated_url':'Base_viewSearchResultList?validation_state=submitted&local_roles=%(local_roles)s&reset=1&portal_type=%(portal_type)s',
+                            'category':'global',
+                            'count':2,
+                            'roles':['Owner'],
+                          },
+              .....
+    }
+  """
+  portal_type_list = self.getPoralTypeListForWorkflow(self, workflow=workflow)
+  portal_workflow = self.getPortalObject().portal_workflow
+  workflow = getattr(portal_workflow, workflow, None)
+
+  portal_type_worklist_dict = {}
+
+  if workflow is not None:
+    worklist_dict = workflow.worklists._mapping
+    for portal_type in portal_type_list:
+      for worklist_id, worklist in worklist_dict.items():
+        state = None
+        if worklist.var_matches.has_key('validation_state'):
+          state=worklist.var_matches['validation_state']
+        local_role_list=worklist.guard.roles
+        if state is None:
+          continue
+
+        result = self.getPortalObject().portal_catalog(portal_type=portal_type,
+                                        local_roles=local_role_list,
+                                        validation_state=state)
+        if not len(result):
+          continue
+
+        if not portal_type_worklist_dict.has_key(portal_type):
+          portal_type_worklist_dict[portal_type] = {}
+
+        portal_type_worklist_dict[portal_type][worklist_id] = {}
+        result_dict = portal_type_worklist_dict[portal_type][worklist_id]
+        result_dict['id']=worklist_id
+        result_dict['count']=len(result)
+        result_dict['description']=worklist.description
+        result_dict['validation_state']=state
+        result_dict['formated_name']=worklist.actbox_name
+        result_dict['formated_url']=worklist.actbox_url
+        result_dict['formated_url']='Base_viewSearchResultList?validation_state=%s&local_roles=%s&reset=1&portal_type=%s'\
+          % (state[0], local_role_list[0], portal_type)
+        result_dict['category']=worklist.actbox_category
+        result_dict.update(worklist.guard.__dict__)
+  return portal_type_worklist_dict
+
diff --git a/bt5/erp5_egov/PathTemplateItem/web_site_module/dgid.xml b/bt5/erp5_egov/PathTemplateItem/web_site_module/dgid.xml
new file mode 100644
index 0000000000000000000000000000000000000000..41a4f1ca0aab356e18baa7b6c530d5ed98da0a9b
--- /dev/null
+++ b/bt5/erp5_egov/PathTemplateItem/web_site_module/dgid.xml
@@ -0,0 +1,168 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="WebSite" module="Products.ERP5Type.Document.WebSite"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>__before_publishing_traverse__</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="MultiHook" module="ZPublisher.BeforeTraverse"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_defined_in_class</string> </key>
+                        <value> <int>1</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>_hookname</string> </key>
+                        <value> <string>__before_publishing_traverse__</string> </value>
+                    </item>
+                    <item>
+                        <key> <string>_list</string> </key>
+                        <value>
+                          <list>
+                            <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                          </list>
+                        </value>
+                    </item>
+                    <item>
+                        <key> <string>_prior</string> </key>
+                        <value>
+                          <none/>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>__before_traverse__</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key>
+                      <tuple>
+                        <int>99</int>
+                        <string>ERP5 Web Site/dgid</string>
+                      </tuple>
+                    </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>_identity_criterion</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>webmaster</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_range_criterion</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+        <item>
+            <key> <string>container_layout</string> </key>
+            <value> <string>erp5_egov_dgid_agent_workspace_layout</string> </value>
+        </item>
+        <item>
+            <key> <string>content_layout</string> </key>
+            <value> <string>erp5_egov_dgid_agent_form_layout</string> </value>
+        </item>
+        <item>
+            <key> <string>custom_render_method_id</string> </key>
+            <value> <string>WebSection_dgid_agent_renderEGovPortal</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>This portal provides to agents an access to their workspace.</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>dgid</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Web Site</string> </value>
+        </item>
+        <item>
+            <key> <string>short_title</string> </key>
+            <value> <string>DGID Agent Workspace</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>ERP5 eGov DGID Agent Workspace</string> </value>
+        </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>webmaster</string> </key>
+            <value> <string>admin</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="WebSiteTraversalHook" module="Products.ERP5Type.Document.WebSite"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary/>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/getPoralTypeListForWorkflow.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/getPoralTypeListForWorkflow.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5083a872c03b6fdfef87001b040c0964bdeed3a3
--- /dev/null
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/getPoralTypeListForWorkflow.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_function</string> </key>
+            <value> <string>getPoralTypeListForWorkflow</string> </value>
+        </item>
+        <item>
+            <key> <string>_module</string> </key>
+            <value> <string>ERP5EGov_Extensions</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>getPoralTypeListForWorkflow</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/getPortalTypeWorklistDictForWorkflow.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/getPortalTypeWorklistDictForWorkflow.xml
new file mode 100644
index 0000000000000000000000000000000000000000..e9ca8c6e0c8ee4f77a0685e8e0ba19663fabf3c2
--- /dev/null
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/getPortalTypeWorklistDictForWorkflow.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_function</string> </key>
+            <value> <string>getPortalTypeWorklistDictForWorkflow</string> </value>
+        </item>
+        <item>
+            <key> <string>_module</string> </key>
+            <value> <string>ERP5EGov_Extensions</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>getPortalTypeWorklistDictForWorkflow</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/MyDocuments_listMethod.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/MyDocuments_listMethod.xml
index d8e629bb41d9b702399e98b58f49f70a5512b2e0..5f9d2e3a5279d02615455e27585c182866c395f3 100644
--- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/MyDocuments_listMethod.xml
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/MyDocuments_listMethod.xml
@@ -65,18 +65,13 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>document_module = context.portal_url.getPortalObject().getDefaultModule(\'document_module\')\n
-\n
-# get user name\n
+            <value> <string># get user name\n
 user_name = context.portal_membership.getAuthenticatedMember().getUserName()\n
 \n
 return context.portal_catalog(portal_type=context.getPortalDocumentTypeList(), \n
                               sort_on=\'creation_date\', \n
                               sort_order=\'reverse\',\n
                               owner=user_name);\n
-\n
-#document_module.searchFolder(portal_type=context.getPortalDocumentTypeList(), \n
-#                                    owner=user_name)\n
 </string> </value>
         </item>
         <item>
@@ -129,7 +124,6 @@ return context.portal_catalog(portal_type=context.getPortalDocumentTypeList(), \
                             <string>kw</string>
                             <string>_getattr_</string>
                             <string>context</string>
-                            <string>document_module</string>
                             <string>user_name</string>
                           </tuple>
                         </value>
diff --git a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/interactions/SubscriptionForm_AccountSetInterraction.xml b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/interactions/SubscriptionForm_AccountSetInterraction.xml
index bb1cf111e4d6935a8b425ee56bc120c64fe7c7ab..d8c9d36b306c1a805e97644971223eaa677a9068 100644
--- a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/interactions/SubscriptionForm_AccountSetInterraction.xml
+++ b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/interactions/SubscriptionForm_AccountSetInterraction.xml
@@ -79,7 +79,7 @@
             <key> <string>script_name</string> </key>
             <value>
               <list>
-                <string>check_companyInexistance</string>
+                <string>checkAccountInexistance</string>
               </list>
             </value>
         </item>
diff --git a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/EGov_setPasswordAsManager.xml b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/EGov_setLoginAndPasswordAsManager.xml
similarity index 91%
rename from bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/EGov_setPasswordAsManager.xml
rename to bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/EGov_setLoginAndPasswordAsManager.xml
index 667a2e0e99d9377555b2c03215484cce97f19c3c..b18b4a99df8f1ef4a7d78ee1cb6acee739d55988 100644
--- a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/EGov_setPasswordAsManager.xml
+++ b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/EGov_setLoginAndPasswordAsManager.xml
@@ -65,7 +65,9 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>organisation.setPassword(password)\n
+            <value> <string>organisation.setRole(\'registry/entreprise\') #XXX this should not be hardcoded\n
+organisation.setReference(login)\n
+organisation.setPassword(password)\n
 </string> </value>
         </item>
         <item>
@@ -82,7 +84,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>organisation, password</string> </value>
+            <value> <string>organisation, login, password</string> </value>
         </item>
         <item>
             <key> <string>_proxy_roles</string> </key>
@@ -110,13 +112,14 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>2</int> </value>
+                        <value> <int>3</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
                             <string>organisation</string>
+                            <string>login</string>
                             <string>password</string>
                             <string>_getattr_</string>
                           </tuple>
@@ -135,7 +138,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>EGov_setPasswordAsManager</string> </value>
+            <value> <string>EGov_setLoginAndPasswordAsManager</string> </value>
         </item>
         <item>
             <key> <string>warnings</string> </key>
diff --git a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/SubscriptionForm_createAccount.xml b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/SubscriptionForm_createAccount.xml
index 11b928a7e2a873c312f2efee4ee227a49179b774..277ab024ebbf4853a356200a146b0651f01a3e0f 100644
--- a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/SubscriptionForm_createAccount.xml
+++ b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/SubscriptionForm_createAccount.xml
@@ -70,31 +70,35 @@
 portal = changed_object.getPortalObject()\n
 organisation_module = portal.getDefaultModule(portal_type=\'Organisation\')\n
 \n
-login = changed_object.getCompanyName().lower()\n
-\n
-new_organisation = organisation_module.newContent(\\\n
-    portal_type=\'Organisation\',\n
-    title=changed_object.getCompanyName(),\n
-    corporate_name=changed_object.getCompanyName(),\n
-    address_street_address=changed_object.getAddressStreetAddress(),\n
-    address_zip_code=changed_object.getAddressZipCode(),\n
-    address_city=changed_object.getAddressCity(),\n
-    address_region=changed_object.getAddressRegion(),\n
-    corporate_registration_code=changed_object.getNinea(),\n
-    role=\'registry/entreprise\', #XXX this should not be hardcoded\n
-    reference=login)\n
+result = changed_object.portal_catalog(portal_type=\'Organisation\',\n
+           corporate_registration_code=changed_object.getRccm())\n
 \n
+# if the organisation don\'t exists, create it\n
+if not len(result):\n
+  organisation = organisation_module.newContent(\\\n
+      portal_type=\'Organisation\',\n
+      title=changed_object.getCompanyName(),\n
+      corporate_name=changed_object.getCompanyName(),\n
+      address_street_address=changed_object.getAddressStreetAddress(),\n
+      address_zip_code=changed_object.getAddressZipCode(),\n
+      address_city=changed_object.getAddressCity(),\n
+      address_region=changed_object.getAddressRegion(),\n
+      corporate_registration_code=changed_object.getRccm(),\n
+      vat_code=changed_object.getNinea())\n
+else:\n
+  organisation = result[0].getObject()\n
 \n
-# set the password required a manager role, so a script with a proxy role is\n
-# used\n
+# set the login and password required a manager role, so a script with a \n
+# proxy role is used\n
+login = changed_object.getCompanyName().lower()\n
 password = changed_object.Person_generatePassword()\n
-context.EGov_setPasswordAsManager(new_organisation, password)\n
+context.EGov_setLoginAndPasswordAsManager(organisation, login, password)\n
 \n
 # here, call a method to send credentials by email\n
 # XXX in the future, it should be possible to chose the mean to receive\n
 # credentials (email, sms, postal mail)\n
 user_email = changed_object.getEmail()\n
-changed_object.sendCrendentialsByEMail(login, password, user_email)\n
+context.sendCrendentialsByEMail(login, password, user_email)\n
 </string> </value>
         </item>
         <item>
@@ -149,8 +153,10 @@ changed_object.sendCrendentialsByEMail(login, password, user_email)\n
                             <string>_getattr_</string>
                             <string>portal</string>
                             <string>organisation_module</string>
+                            <string>result</string>
+                            <string>len</string>
+                            <string>organisation</string>
                             <string>login</string>
-                            <string>new_organisation</string>
                             <string>password</string>
                             <string>context</string>
                             <string>user_email</string>
diff --git a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/check_companyInexistance.xml b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/checkAccountInexistance.xml
similarity index 88%
rename from bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/check_companyInexistance.xml
rename to bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/checkAccountInexistance.xml
index b2d4381c264449c31fdf76a06b2b86d053d8bdac..fca33fecb240ef604a09d9117c12910f5e0b9852 100644
--- a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/check_companyInexistance.xml
+++ b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/checkAccountInexistance.xml
@@ -65,21 +65,31 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>changed_object = state_change[\'object\']\n
+            <value> <string encoding="cdata"><![CDATA[
+
+changed_object = state_change[\'object\']\n
 login = changed_object.getCompanyName().lower()\n
 \n
 # check that no existing organisation have the same RCCM number or login\n
 from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
-if len(changed_object.portal_catalog(portal_type=\'Organisation\',\n
-  corporate_registration_code=changed_object.getNinea())):\n
+\n
+result = changed_object.portal_catalog(portal_type=\'Organisation\',\n
+           corporate_registration_code=changed_object.getRccm())\n
+if len(result) > 1:\n
+  raise ValidationFailed, "Error : There is more than one company with the "\\\n
+    " registration code \'%s\'" % changed_object.getRccm()\n
+\n
+if len(result) and result[0].getObject().getReference():\n
   raise ValidationFailed, "Error : A company with the registration code \'%s\'"\\\n
-    " already exists" % changed_object.getNinea()\n
+    " already exists and have already an account" % changed_object.getRccm()\n
 \n
 if len((changed_object.portal_catalog(portal_type=\'Organisation\',\n
     reference=login))):\n
   raise ValidationFailed, "Error : A company with the login \'%s\'"\\\n
     " already exists" % login\n
-</string> </value>
+
+
+]]></string> </value>
         </item>
         <item>
             <key> <string>_code</string> </key>
@@ -128,6 +138,7 @@ if len((changed_object.portal_catalog(portal_type=\'Organisation\',\n
                             <string>login</string>
                             <string>Products.DCWorkflow.DCWorkflow</string>
                             <string>ValidationFailed</string>
+                            <string>result</string>
                             <string>len</string>
                           </tuple>
                         </value>
@@ -145,7 +156,7 @@ if len((changed_object.portal_catalog(portal_type=\'Organisation\',\n
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>check_companyInexistance</string> </value>
+            <value> <string>checkAccountInexistance</string> </value>
         </item>
         <item>
             <key> <string>warnings</string> </key>
diff --git a/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/sendCrendentialsByEMail.xml b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/sendCrendentialsByEMail.xml
new file mode 100644
index 0000000000000000000000000000000000000000..408208fd57b29ddfc08e1973850a0fd5145359e1
--- /dev/null
+++ b/bt5/erp5_egov/WorkflowTemplateItem/portal_workflow/egov_interaction_workflow/scripts/sendCrendentialsByEMail.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_function</string> </key>
+            <value> <string>sendCrendentialsByEMail</string> </value>
+        </item>
+        <item>
+            <key> <string>_module</string> </key>
+            <value> <string>ERP5EGov_Extensions</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>sendCrendentialsByEMail</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision
index 405e057083f25e684989f485a916596125fdedc0..aa59885c836ad82e8a621dbdde0bf9fb7a80c346 100644
--- a/bt5/erp5_egov/bt/revision
+++ b/bt5/erp5_egov/bt/revision
@@ -1 +1 @@
-127
\ No newline at end of file
+143
\ No newline at end of file
diff --git a/bt5/erp5_egov/bt/template_extension_id_list b/bt5/erp5_egov/bt/template_extension_id_list
index 2f0ef7c8472cf1909dce8a2700bf6ba33b89b7d5..5bc01e986efae64e494cfa808473bcd61c9852fd 100644
--- a/bt5/erp5_egov/bt/template_extension_id_list
+++ b/bt5/erp5_egov/bt/template_extension_id_list
@@ -1,2 +1,3 @@
 StandardSecurity
-Captcha
\ No newline at end of file
+Captcha
+ERP5EGov_Extensions
\ No newline at end of file
diff --git a/bt5/erp5_egov/bt/template_path_list b/bt5/erp5_egov/bt/template_path_list
index 3b4f6c3a9fd6944fe2d75232b805e7622f4c0aea..86ff66373c2d0576a5d9ff544126f1067c2f3813 100644
--- a/bt5/erp5_egov/bt/template_path_list
+++ b/bt5/erp5_egov/bt/template_path_list
@@ -1,3 +1,5 @@
 web_page_module/*
+web_site_module/dgid
+web_site_module/dgid/*
 web_site_module/egov_portal
 web_site_module/egov_portal/*
\ No newline at end of file