Index: WAeUP_SRP/trunk/skins/waeup_default/portlet_session_info.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_default/portlet_session_info.pt	(revision 405)
+++ WAeUP_SRP/trunk/skins/waeup_default/portlet_session_info.pt	(revision 408)
@@ -3,14 +3,44 @@
            isAnon mtool/isAnonymousUser;
            roles member/getRoles;
-           backend python:'Manager' in roles or 'SectionManager' in roles;
+           backend python:'UniversityManager' in roles or 'StudentManager' in roles;
            frontend python:'Student' in roles or isAnon;"
            >
   <tal:block condition="not:isAnon">
-       <strong> <span tal:content="python:member.getProperty('fullname',None)" /> 
-       </strong>
+    <tal:block condition="backend">
+      <em tal:content="member" /> is working in back-end mode<br />
+      <span  tal:condition="python: 1" >
+        with Basic Roles <span tal:content="member/getRoles" /><br />
+        <span tal:condition="python: 0" tal:content="python:mtool.getCPSCandidateLocalRoles(context)" />
+      </span>
+    </tal:block>
+    <tal:block condition="not:backend">
+      <em tal:content="member" /> is working in front-end mode<br />
+      <span  tal:condition="python: 1" >
+        with Basic Roles <span tal:content="member/getRoles" /><br />
+        <span tal:condition="python: 0" tal:content="python:mtool.getCPSCandidateLocalRoles(context)" />
+      </span>
+    </tal:block>
+    <tal:block condition="python: 0">
+    <br />
+    <a href="" tal:condition="python: 'Student' in member.getRoles() and not 'UniversityManager' in member.getRoles()" 
+       tal:attributes="href string:${context/portal_url}/students/${member}">
+      Go to your personal area
+    </a>
+    </tal:block>
+    <br />
+    <a href="" tal:condition="python: 0" 
+       tal:attributes="href string:${context/portal_url}/cpsdirectory_entry_view?dirname=members&id=${member}">        
+      Edit your Preferences
+    </a>
+    <br />
+    <a href="" i18n:translate=""
+       tal:attributes="href string:logout">
+      Log out
+    </a>
   </tal:block>
-
   <tal:block condition="isAnon">
-    <div>You are not logged in.</div>
+    <div>You are not logged in. </div>
+    <br />
+    <a href="" tal:attributes="href string:login_form">Log in</a>
   </tal:block>
 </tal:block>
