Index: waeup/branches/ulif-rewrite/src/waeup/authentication.py
===================================================================
--- waeup/branches/ulif-rewrite/src/waeup/authentication.py	(revision 4134)
+++ waeup/branches/ulif-rewrite/src/waeup/authentication.py	(revision 4135)
@@ -38,4 +38,6 @@
 
 class Login(grok.View):
+    """A general login page used in case of not found resources, etc.
+    """
     grok.context(IWAeUPObject)
     # grok.require('zope.Public') # XXX: Does not work in ftests!
@@ -45,5 +47,27 @@
         if SUBMIT is not None:
             self.redirect(self.camefrom)
-            
+
+class LoginStaff(grok.View):
+    """A login page for staff members.
+    """
+    grok.context(IWAeUPObject)
+    grok.template('login')
+
+    def update(self, SUBMIT=None):
+        if SUBMIT is None:
+            return
+        self.redirect(self.url(grok.getSite()))
+    
+class LoginStudent(grok.View):
+    """A login page for students.
+    """
+    grok.context(IWAeUPObject)
+    grok.template('login')
+
+    def update(self, SUBMIT=None):
+        if SUBMIT is None:
+            return
+        self.redirect(self.url(grok.getSite()))
+
 class LoginMain(grok.Viewlet):
     grok.viewletmanager(MainArea)
@@ -51,4 +75,15 @@
     grok.view(Login)
 
+class LoginMainStaff(grok.Viewlet):
+    grok.viewletmanager(MainArea)
+    grok.context(IWAeUPObject)
+    grok.view(LoginStaff)
+
+class LoginMainStudent(grok.Viewlet):
+    grok.viewletmanager(MainArea)
+    grok.context(IWAeUPObject)
+    grok.view(LoginStudent)
+
+    
 class Logout(grok.Viewlet):
     grok.viewletmanager(LeftSidebar)
