Index: WAeUP_SRP/trunk/Students.py
===================================================================
--- WAeUP_SRP/trunk/Students.py	(revision 518)
+++ WAeUP_SRP/trunk/Students.py	(revision 519)
@@ -335,4 +335,5 @@
             logger.info('%(tr_count)s: Creating Student with ID %(sid)s REG-NO %(jamb_reg_no)s ' % vars())
             student = getattr(self,sid)
+            student.manage_setLocalRoles(sid, ['Owner',])
             student.invokeFactory('StudentApplication','application')
             da = {'Title': 'Application Data'}
Index: WAeUP_SRP/trunk/Widgets.py
===================================================================
--- WAeUP_SRP/trunk/Widgets.py	(revision 518)
+++ WAeUP_SRP/trunk/Widgets.py	(revision 519)
@@ -277,9 +277,4 @@
 
         )
-    valid_pins = ['12345678',
-                  '23456789',
-                  '34567890',
-                  '45678901',
-                  ]
     prefix = ''
     reference = ''
@@ -330,10 +325,10 @@
                     break
                 s_id = student.getId()
-                if self.portal_workflow.getInfoFor(student,
-                                                   'review_state',
-                                                   None) =="created":
-                    student.content_status_modify(workflow_action="enter_application_pin")
                 if ok == 2:
                     break
+##                if self.portal_workflow.getInfoFor(student,
+##                                                   'review_state',
+##                                                   None) == "created":
+##                    student.content_status_modify(workflow_action="enter_application_pin")
                 student.getContent().makeStudentMember(s_id,password=pin[4:])
             break
Index: WAeUP_SRP/trunk/skins/waeup_default/process_waeup_login.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_default/process_waeup_login.py	(revision 518)
+++ WAeUP_SRP/trunk/skins/waeup_default/process_waeup_login.py	(revision 519)
@@ -16,5 +16,5 @@
 student = getattr(context.students,member_id)
 application = student.application
-##student.content_status_modify(workflow_action="enter_application_pin")
+student.content_status_modify(workflow_action="enter_application_pin")
 da = {}
 pin = request.get('pin')
