Index: trunk/grails-app/conf/BootStrap.groovy
===================================================================
--- trunk/grails-app/conf/BootStrap.groovy	(revision 126)
+++ trunk/grails-app/conf/BootStrap.groovy	(revision 127)
@@ -242,8 +242,8 @@
         def taskPriorityInstance
 
+        taskPriorityInstance = new TaskPriority(name:"Normal")
+        BootStrapSaveAndTest(taskPriorityInstance)
+
         taskPriorityInstance = new TaskPriority(name:"Low")
-        BootStrapSaveAndTest(taskPriorityInstance)
-
-        taskPriorityInstance = new TaskPriority(name:"Normal")
         BootStrapSaveAndTest(taskPriorityInstance)
 
Index: trunk/grails-app/conf/SecurityConfig.groovy
===================================================================
--- trunk/grails-app/conf/SecurityConfig.groovy	(revision 126)
+++ trunk/grails-app/conf/SecurityConfig.groovy	(revision 127)
@@ -1,3 +1,5 @@
 security {
+
+    def authenticateService
 
 	// see DefaultSecurityConfig.groovy for all settable/overridable properties
@@ -46,5 +48,5 @@
 
     //We always want to go to the home page so that bookmarks are not used.
-    defaultTargetUrl = '/appCore/home'
+    defaultTargetUrl = '/appCore/welcome'
     alwaysUseDefaultTargetUrl = true
 
@@ -61,3 +63,15 @@
     cacheUsers = false
 
+//    //List for and events and run the closure(s) that follow.
+//    //Unfortunately the session is not available yet so many things can't be done here, us an defaultTargetUrl and controller.
+//    useSecurityEventListener = true
+//
+//    onAuthenticationSuccessEvent = { e, appCtx ->
+//        def p = e.source.principal
+//        def personInstance = Person.findByLoginName(p.username)
+//        println p.username
+//        println personInstance.loginName
+//        println personInstance.firstName
+//    }
+
 }
