Index: /waeup/branches/ulif-rewrite/src/waeup/viewlets.py
===================================================================
--- /waeup/branches/ulif-rewrite/src/waeup/viewlets.py	(revision 3850)
+++ /waeup/branches/ulif-rewrite/src/waeup/viewlets.py	(revision 3851)
@@ -2,5 +2,5 @@
 import grok
 import zope.interface
-from interfaces import IUniversity 
+from interfaces import IUniversity, IWAeUPObject
 
 grok.context(zope.interface.Interface)
@@ -10,7 +10,9 @@
     grok.template('master')
     
-    def __init__(self, context, request):#
-        super(Index, self).__init__(context, request)
-
+class Manage(grok.View):
+    """Admin view for waeup objects.
+    """
+    grok.context(IWAeUPObject)
+        
 class Head(grok.ViewletManager):
     """additions to HTML head"""
@@ -30,4 +32,14 @@
     grok.order(1)
 
+    def getAppTitle(self):
+        """Get the `name` attribute of the local site object.
+
+        This is normally the waeup application or IUniversity object.
+        If this object has no ``name`` attribute, then we return the
+        empty string.
+        """
+        app = grok.getSite()
+        return getattr(app, 'name', u'')
+
 class NavigationBar(grok.Viewlet):
     grok.viewletmanager(Header)
@@ -42,5 +54,4 @@
 class AuthUser(grok.Viewlet):
     grok.viewletmanager(LeftSidebar)
-    grok.view(Index)
     grok.order(1)
 
@@ -51,4 +62,9 @@
     grok.order(2)
 
+    def isAuthenticated(self):
+        """Is the calling user authenticated?
+        """
+        return self.request.principal.id != 'zope.anybody'
+    
 class MainArea(grok.ViewletManager):
     grok.name('main')
