Index: WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py	(revision 1035)
+++ WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py	(revision 1036)
@@ -31,4 +31,11 @@
 wftool = context.portal_workflow
 info = context.getStudentInfo()
+
+
+#'Sorry, you are not allowed to access this page!'
+if info == None:
+	#return REQUEST.RESPONSE.redirect(context.portal_url())
+	return REQUEST.RESPONSE.redirect(context.standard_error_message())
+	
 
 student = info['student']
Index: WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt	(revision 1035)
+++ WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt	(revision 1036)
@@ -2,5 +2,5 @@
 <metal:block tal:define="info context/getStudentInfo">
   <span tal:condition="not: info">
-    <metal:block use-macro="here/error_not_found/macros/not_found" />
+    <metal:block use-macro="here/standard_error_message" />
   </span>
 <metal:block tal:condition="info"> 
