Index: branches/TaskRewrite/src/grails-app/views/_adminmenubar.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/_adminmenubar.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/_adminmenubar.gsp	(revision 59)
@@ -0,0 +1,15 @@
+<g:isLoggedIn>
+    <g:ifAnyGranted role="ROLE_ADMIN">
+        <span class="appControlButton">
+            <g:link controller="appCore" action="admin">
+                Admin
+            </g:link>
+        </span>
+    </g:ifAnyGranted>
+    <span class="appControlButton">
+        <g:link controller="logout">
+                Log out
+        </g:link>
+    </span>
+</g:isLoggedIn>
+
Index: branches/TaskRewrite/src/grails-app/views/appCore/admin.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/appCore/admin.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/appCore/admin.gsp	(revision 59)
@@ -0,0 +1,25 @@
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Admin</title>
+    </head>
+    <body>
+        <div class="nav">
+            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+            <span class="menuButton"><g:link controller="person" action="create">New Person</g:link></span>
+        </div>
+        <div class="body">
+            <h1>Welcome to Admin</h1>
+            <br/>
+            <div class="dialog">
+                <ul>
+                <g:each var="c" in="${grailsApplication.controllerClasses}">
+                        <li class="controller"><g:link
+    controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
+                </g:each>
+                </ul>
+            </div>
+        </div>
+    </body>
+</html>
Index: branches/TaskRewrite/src/grails-app/views/appCore/create.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/appCore/create.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/appCore/create.gsp	(revision 59)
@@ -0,0 +1,38 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Create AppCore</title>         
+    </head>
+    <body>
+        <div class="nav">
+            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+            <span class="menuButton"><g:link class="list" action="list">AppCore List</g:link></span>
+        </div>
+        <div class="body">
+            <h1>Create AppCore</h1>
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <g:hasErrors bean="${appCoreInstance}">
+            <div class="errors">
+                <g:renderErrors bean="${appCoreInstance}" as="list" />
+            </div>
+            </g:hasErrors>
+            <g:form action="save" method="post" >
+                <div class="dialog">
+                    <table>
+                        <tbody>
+                        
+                        </tbody>
+                    </table>
+                </div>
+                <div class="buttons">
+                    <span class="button"><input class="save" type="submit" value="Create" /></span>
+                </div>
+            </g:form>
+        </div>
+    </body>
+</html>
Index: branches/TaskRewrite/src/grails-app/views/appCore/edit.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/appCore/edit.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/appCore/edit.gsp	(revision 59)
@@ -0,0 +1,41 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Edit AppCore</title>
+    </head>
+    <body>
+        <div class="nav">
+            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+            <span class="menuButton"><g:link class="list" action="list">AppCore List</g:link></span>
+            <span class="menuButton"><g:link class="create" action="create">New AppCore</g:link></span>
+        </div>
+        <div class="body">
+            <h1>Edit AppCore</h1>
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <g:hasErrors bean="${appCoreInstance}">
+            <div class="errors">
+                <g:renderErrors bean="${appCoreInstance}" as="list" />
+            </div>
+            </g:hasErrors>
+            <g:form method="post" >
+                <input type="hidden" name="id" value="${appCoreInstance?.id}" />
+                <div class="dialog">
+                    <table>
+                        <tbody>
+                        
+                        </tbody>
+                    </table>
+                </div>
+                <div class="buttons">
+                    <span class="button"><g:actionSubmit class="save" value="Update" /></span>
+                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+                </div>
+            </g:form>
+        </div>
+    </body>
+</html>
Index: branches/TaskRewrite/src/grails-app/views/appCore/home.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/appCore/home.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/appCore/home.gsp	(revision 59)
@@ -0,0 +1,25 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html;
+      charset=UTF-8"/>
+<meta name="layout" content="main" />
+<title>Home</title>
+</head>
+    <body>
+        <div class="nav">
+            <span class="menuButton"><g:link class="list" controller="task" action="list">Tasks</g:link></span>
+
+        </div>
+        <div class="body">
+            <g:if test="${flash.message}">
+                <div class="message">${flash.message}</div>
+            </g:if>
+            <g:hasErrors bean="${person}">
+                <div class="errors">
+                    <g:renderErrors bean="${person}" as="list" />
+                </div>
+            </g:hasErrors>
+            
+        </div>
+    </body>
+</html>
Index: branches/TaskRewrite/src/grails-app/views/appCore/list.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/appCore/list.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/appCore/list.gsp	(revision 59)
@@ -0,0 +1,44 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>AppCore List</title>
+    </head>
+    <body>
+        <div class="nav">
+            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+            <span class="menuButton"><g:link class="create" action="create">New AppCore</g:link></span>
+        </div>
+        <div class="body">
+            <h1>AppCore List</h1>
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <div class="list">
+                <table>
+                    <thead>
+                        <tr>
+                        
+                   	        <g:sortableColumn property="id" title="Id" />
+                        
+                        </tr>
+                    </thead>
+                    <tbody>
+                    <g:each in="${appCoreInstanceList}" status="i" var="appCoreInstance">
+                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
+                        
+                            <td><g:link action="show" id="${appCoreInstance.id}">${fieldValue(bean:appCoreInstance, field:'id')}</g:link></td>
+                        
+                        </tr>
+                    </g:each>
+                    </tbody>
+                </table>
+            </div>
+            <div class="paginateButtons">
+                <g:paginate total="${AppCore.count()}" />
+            </div>
+        </div>
+    </body>
+</html>
Index: branches/TaskRewrite/src/grails-app/views/appCore/show.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/appCore/show.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/appCore/show.gsp	(revision 59)
@@ -0,0 +1,44 @@
+
+
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+        <meta name="layout" content="main" />
+        <title>Show AppCore</title>
+    </head>
+    <body>
+        <div class="nav">
+            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+            <span class="menuButton"><g:link class="list" action="list">AppCore List</g:link></span>
+            <span class="menuButton"><g:link class="create" action="create">New AppCore</g:link></span>
+        </div>
+        <div class="body">
+            <h1>Show AppCore</h1>
+            <g:if test="${flash.message}">
+            <div class="message">${flash.message}</div>
+            </g:if>
+            <div class="dialog">
+                <table>
+                    <tbody>
+
+                    
+                        <tr class="prop">
+                            <td valign="top" class="name">Id:</td>
+                            
+                            <td valign="top" class="value">${fieldValue(bean:appCoreInstance, field:'id')}</td>
+                            
+                        </tr>
+                    
+                    </tbody>
+                </table>
+            </div>
+            <div class="buttons">
+                <g:form>
+                    <input type="hidden" name="id" value="${appCoreInstance?.id}" />
+                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
+                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+                </g:form>
+            </div>
+        </div>
+    </body>
+</html>
Index: branches/TaskRewrite/src/grails-app/views/authority/create.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/authority/create.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/authority/create.gsp	(revision 59)
@@ -0,0 +1,51 @@
+<head>
+	<meta name="layout" content="main" />
+	<title>Create Authority</title>
+</head>
+
+<body>
+
+	<div class="nav">
+		<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+		<span class="menuButton"><g:link class="list" action="list">Authority List</g:link></span>
+	</div>
+
+	<div class="body">
+
+		<h1>Create Authority</h1>
+		<g:if test="${flash.message}">
+		<div class="message">${flash.message}</div>
+		</g:if>
+		<g:hasErrors bean="${authority}">
+		<div class="errors">
+		<g:renderErrors bean="${authority}" as="list" />
+		</div>
+		</g:hasErrors>
+
+		<g:form action="save">
+		<div class="dialog">
+		<table>
+		<tbody>
+			<tr class="prop">
+				<td valign="top" class="name"><label for="authority">Authority Name:</label></td>
+				<td valign="top" class="value ${hasErrors(bean:authority,field:'authority','errors')}">
+					<input type="text" id="authority" name="authority" value="${authority?.authority?.encodeAsHTML()}"/>
+				</td>
+			</tr>
+
+			<tr class="prop">
+				<td valign="top" class="name"><label for="description">Description:</label></td>
+				<td valign="top" class="value ${hasErrors(bean:authority,field:'description','errors')}">
+					<input type="text" id="description" name="description" value="${authority?.description?.encodeAsHTML()}"/>
+				</td>
+			</tr>
+		</tbody>
+		</table>
+		</div>
+
+		<div class="buttons">
+			<span class="button"><input class="save" type="submit" value="Create" /></span>
+		</div>
+		</g:form>
+	</div>
+</body>
Index: branches/TaskRewrite/src/grails-app/views/authority/edit.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/authority/edit.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/authority/edit.gsp	(revision 59)
@@ -0,0 +1,69 @@
+<head>
+	<meta name="layout" content="main" />
+	<title>Edit Authority</title>
+</head>
+
+<body>
+
+	<div class="nav">
+		<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+		<span class="menuButton"><g:link class="list" action="list">Authority List</g:link></span>
+		<span class="menuButton"><g:link class="create" action="create">New Authority</g:link></span>
+	</div>
+
+	<div class="body">
+		<h1>Edit Authority</h1>
+		<g:if test="${flash.message}">
+		<div class="message">${flash.message}</div>
+		</g:if>
+		<g:hasErrors bean="${authority}">
+		<div class="errors">
+			<g:renderErrors bean="${authority}" as="list" />
+		</div>
+		</g:hasErrors>
+		<div class="prop">
+			<span class="name">ID:</span>
+			<span class="value">${authority.id}</span>
+		</div>
+		<g:form>
+			<input type="hidden" name="id" value="${authority.id}" />
+			<input type="hidden" name="version" value="${authority.version}" />
+			<div class="dialog">
+			<table>
+			<tbody>
+				<tr class="prop">
+					<td valign="top" class="name"><label for="authority">Authority Name:</label></td>
+					<td valign="top" class="value ${hasErrors(bean:authority,field:'authority','errors')}">
+						<input type="text" id="authority" name="authority" value="${authority.authority?.encodeAsHTML()}"/>
+					</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name"><label for="description">Description:</label></td>
+					<td valign="top" class="value ${hasErrors(bean:authority,field:'description','errors')}">
+						<input type="text" id="description" name="description" value="${authority.description?.encodeAsHTML()}"/>
+					</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name"><label for="persons">Persons:</label></td>
+					<td valign="top" class="value ${hasErrors(bean:authority,field:'persons','errors')}">
+						<ul>
+						<g:each var="p" in="${authority.persons?}">
+							<li>${p}</li>
+						</g:each>
+						</ul>
+					</td>
+				</tr>
+			</tbody>
+			</table>
+			</div>
+
+			<div class="buttons">
+				<span class="button"><g:actionSubmit class="save" value="Update" /></span>
+				<span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+			</div>
+
+		</g:form>
+	</div>
+</body>
Index: branches/TaskRewrite/src/grails-app/views/authority/list.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/authority/list.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/authority/list.gsp	(revision 59)
@@ -0,0 +1,49 @@
+<head>
+	<meta name="layout" content="main" />
+	<title>Authority List</title>
+</head>
+
+<body>
+
+	<div class="nav">
+		<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+		<span class="menuButton"><g:link class="create" action="create">New Authority</g:link></span>
+	</div>
+
+	<div class="body">
+		<h1>Authority List</h1>
+		<g:if test="${flash.message}">
+		<div class="message">${flash.message}</div>
+		</g:if>
+		<div class="list">
+			<table>
+			<thead>
+				<tr>
+					<g:sortableColumn property="id" title="ID" />
+					<g:sortableColumn property="authority" title="Authority Name" />
+					<g:sortableColumn property="description" title="Description" />
+					<th>&nbsp;</th>
+				</tr>
+			</thead>
+			<tbody>
+			<g:each in="${authorityList}" status="i" var="authority">
+				<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
+					<td>${authority.id}</td>
+					<td>${authority.authority?.encodeAsHTML()}</td>
+					<td>${authority.description?.encodeAsHTML()}</td>
+					<td class="actionButtons">
+						<span class="actionButton">
+							<g:link action="show" id="${authority.id}">Show</g:link>
+						</span>
+					</td>
+				</tr>
+			</g:each>
+			</tbody>
+			</table>
+		</div>
+
+		<div class="paginateButtons">
+			<g:paginate total="${Authority.count()}" />
+		</div>
+	</div>
+</body>
Index: branches/TaskRewrite/src/grails-app/views/authority/show.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/authority/show.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/authority/show.gsp	(revision 59)
@@ -0,0 +1,57 @@
+<head>
+	<meta name="layout" content="main" />
+	<title>Show Authority</title>
+</head>
+
+<body>
+
+	<div class="nav">
+		<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+		<span class="menuButton"><g:link class="list" action="list">Authority List</g:link></span>
+		<span class="menuButton"><g:link class="create" action="create">New Authority</g:link></span>
+	</div>
+
+	<div class="body">
+		<h1>Show Authority</h1>
+		<g:if test="${flash.message}">
+		<div class="message">${flash.message}</div>
+		</g:if>
+		<div class="dialog">
+			<table>
+			<tbody>
+
+				<tr class="prop">
+					<td valign="top" class="name">ID:</td>
+					<td valign="top" class="value">${authority.id}</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">Authority Name:</td>
+					<td valign="top" class="value">${authority.authority}</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">Description:</td>
+					<td valign="top" class="value">${authority.description}</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">Persons:</td>
+					<td valign="top" class="value">${authority.persons}</td>
+				</tr>
+
+			</tbody>
+			</table>
+		</div>
+
+		<div class="buttons">
+			<g:form>
+				<input type="hidden" name="id" value="${authority?.id}" />
+				<span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
+				<span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+			</g:form>
+		</div>
+
+	</div>
+
+</body>
Index: branches/TaskRewrite/src/grails-app/views/layouts/main.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/layouts/main.gsp	(revision 58)
+++ branches/TaskRewrite/src/grails-app/views/layouts/main.gsp	(revision 59)
@@ -1,16 +1,37 @@
 <html>
     <head>
-        <title><g:layoutTitle default="Grails" /></title>
+        <title><g:layoutTitle default="gnuMims" /></title>
         <link rel="stylesheet" href="${createLinkTo(dir:'css',file:'main.css')}" />
-        <link rel="shortcut icon" href="${createLinkTo(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
+        <link rel="shortcut icon" href="${createLinkTo(dir:'images',file:'gnuMimsIcon.ico')}" type="image/x-icon" />
         <g:layoutHead />
-        <g:javascript library="application" />				
+        <g:javascript library="application" />
     </head>
     <body>
+    <div id="wrapper" style="height: 100%;">
+    <div id="top">
+    </div>
+    <div id="content" align="center">
         <div id="spinner" class="spinner" style="display:none;">
-            <img src="${createLinkTo(dir:'images',file:'spinner.gif')}" alt="Spinner" />
+            <img src="${createLinkTo(dir:'images',file:'spinner.png')}" alt="Spinner" />
         </div>	
-        <div class="logo"><img src="${createLinkTo(dir:'images',file:'grails_logo.jpg')}" alt="Grails" /></div>	
-        <g:layoutBody />		
+        <!-- <div class="logo" style="text-align: center; width: 980px; height: 220px">
+          <img src="${createLinkTo(dir:'images',file:'logo.png')}"
+        alt="gnuMims" />
+        <g:render template="/adminmenubar" />
+
+        </div> -->
+        <div id="Header">
+        </div>
+        <div class="appControl">
+            <g:render template="/adminmenubar" />
+        </div>
+        <!-- Body wrapper div for IE -->
+        <div style="text-align: center; width: 980px">
+            <g:layoutBody />
+        </div>
+    </div>
+    <div id="bottom">
+    </div>
+    </div>
     </body>	
 </html>
Index: branches/TaskRewrite/src/grails-app/views/login/auth.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/login/auth.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/login/auth.gsp	(revision 59)
@@ -0,0 +1,82 @@
+<head>
+<meta name='layout' content='main' />
+<title>Login</title>
+<style type='text/css' media='screen'>
+#login {
+	margin:15px 0px; padding:0px;
+	text-align:center;
+}
+#login .inner {
+	width:260px;
+	margin:0px auto;
+	text-align:left;
+	padding:10px;
+/*	border-top:1px dashed #499ede;
+	border-bottom:1px dashed #499ede;*/
+/*	background-color:#EEF;*/
+}
+#login .inner .fheader {
+	padding:4px;margin:3px 0px 3px 0;color:#2e3741;font-size:14px;font-weight:bold;
+}
+#login .inner .cssform p {
+	clear: left;
+	margin: 0;
+	padding: 5px 0 8px 0;
+	padding-left: 105px;
+/*	border-top: 1px dashed gray;*/
+	margin-bottom: 10px;
+	height: 1%;
+}
+#login .inner .cssform input[type='text'] {
+	width: 120px;
+}
+#login .inner .cssform label {
+	font-weight: bold;
+	float: left;
+	margin-left: -105px;
+	width: 100px;
+}
+#login .inner .login_message {color:red;}
+#login .inner .text_ {width:120px;}
+#login .inner .chk {height:12px;}
+</style>
+</head>
+
+<body>
+	<div id='login'>
+        <h1>Welcome to gnuMims please log in</h1>
+        The demo users are "admin" and "user" both having password "pass"
+
+		<div class='inner'>
+			<g:if test='${flash.message}'>
+			<div class='login_message'>${flash.message}</div>
+			</g:if>
+			<div class='fheader'></div>
+			<form action='${postUrl}' method='POST' id='loginForm' class='cssform'>
+				<p>
+					<label for='j_username'>Login ID</label>
+					<input type='text' class='text_' name='j_username' id='j_username' value='${request.remoteUser}' />
+				</p>
+				<p>
+					<label for='j_password'>Password</label>
+					<input type='password' class='text_' name='j_password' id='j_password' />
+				</p>
+<!--				<p>
+					<label for='remember_me'>Remember me</label>
+					<input type='checkbox' class='chk' name='_spring_security_remember_me' id='remember_me'
+					<g:if test='${hasCookie}'>checked='checked'</g:if> />
+				</p>-->
+				<p>
+					<input type='submit' value='Login' />
+				</p>
+			</form>
+		</div>
+	</div>
+<script type='text/javascript'>
+<!--
+(function(){
+	document.forms['loginForm'].elements['j_username'].focus();
+})();
+// -->
+</script>
+</body>
Index: branches/TaskRewrite/src/grails-app/views/login/denied.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/login/denied.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/login/denied.gsp	(revision 59)
@@ -0,0 +1,6 @@
+<meta name='layout' content='main' />
+<title>Denied</title>
+
+<div class='body'>
+	<div class='errors'>Sorry, you're not authorized to view this page.</div>
+</div>
Index: branches/TaskRewrite/src/grails-app/views/login/openIdAuth.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/login/openIdAuth.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/login/openIdAuth.gsp	(revision 59)
@@ -0,0 +1,67 @@
+<head>
+<meta name='layout' content='main' />
+<title>Login</title>
+<style type='text/css' media='screen'>
+#login {
+	margin:15px 0px; padding:0px;
+	text-align:center;
+}
+#login .inner {
+	width:260px;
+	margin:0px auto;
+	text-align:left;
+	padding:10px;
+	border-top:1px dashed #499ede;
+	border-bottom:1px dashed #499ede;
+	background-color:#EEF;
+}
+#login .inner .fheader {
+	padding:4px;margin:3px 0px 3px 0;color:#2e3741;font-size:14px;font-weight:bold;
+}
+#login .inner .cssform p{
+	clear: left;
+	margin: 0;
+	padding: 5px 0 8px 0;
+	padding-left: 105px;
+	border-top: 1px dashed gray;
+	margin-bottom: 10px;
+	height: 1%;
+}
+#login .inner .cssform input[type='text']{ 
+	width: 120px;
+}
+#login .inner .cssform label{
+	font-weight: bold;
+	float: left;
+	margin-left: -105px; 
+	width: 100px;
+}
+#login .inner .login_message {color:red;}
+#login .inner .text_ {width:120px;}
+</style>
+</head>
+
+<body>
+	<div id='login'>
+		<div class='inner'>
+			<g:if test='${flash.message}'>
+			<div class='login_message'>${flash.message}</div>
+			</g:if>
+			<div class='fheader'>Please Login..</div>
+			<form action='${postUrl}' method='POST' id='loginForm' class='cssform'>
+				<p>
+					<label for='j_username'>OpenID Identity</label>
+					<input type='text' class='text_' name='j_username' />
+				</p>
+				<p>
+					<input type='submit' value='Login' />
+				</p>
+			</form>
+		</div>
+	</div>
+<script type='text/javascript'>
+(function(){
+	document.forms['loginForm'].elements['j_username'].focus();
+})();
+</script>
+</body>
Index: branches/TaskRewrite/src/grails-app/views/person/create.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/person/create.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/person/create.gsp	(revision 59)
@@ -0,0 +1,114 @@
+<head>
+	<meta name="layout" content="main" />
+	<title>Create Person</title>
+</head>
+
+<body>
+
+	<div class="nav">
+		<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+		<span class="menuButton"><g:link class="list" action="list">Person List</g:link></span>
+	</div>
+
+	<div class="body">
+		<h1>Create Person</h1>
+		<g:if test="${flash.message}">
+		<div class="message">${flash.message}</div>
+		</g:if>
+		<g:hasErrors bean="${person}">
+		<div class="errors">
+			<g:renderErrors bean="${person}" as="list" />
+		</div>
+		</g:hasErrors>
+		<g:form action="save">
+			<div class="dialog">
+				<table>
+				<tbody>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="loginName">Login Name:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'loginName','errors')}">
+							<input type="text" id="loginName" name="loginName" value="${person.loginName?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="firstName">First Name:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'firstName','errors')}">
+							<input type="text" id="firstName" name="firstName" value="${person.firstName?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+                    <tr class="prop">
+                        <td valign="top" class="name"><label for="lastName">Last Name:</label></td>
+                        <td valign="top" class="value ${hasErrors(bean:person,field:'lastName','errors')}">
+                            <input type="text" id="lastName" name="lastName" value="${person.lastName?.encodeAsHTML()}"/>
+                        </td>
+                    </tr>
+
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="password">Password:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'password','errors')}">
+							<input type="password" id="password" name="password" value="${person.password?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="isActive">isActive:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'isActive','errors')}">
+							<g:checkBox name="isActive" value="${person.isActive}" ></g:checkBox>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="description">Description:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'description','errors')}">
+							<input type="text" id="description" name="description" value="${person.description?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="email">Email:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'email','errors')}">
+							<input type="text" id="email" name="email" value="${person.email?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="emailShow">Show Email:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'emailShow','errors')}">
+							<g:checkBox name="emailShow" value="${person.emailShow}"/>
+						</td>
+					</tr>
+
+                    <tr class="prop">
+                        <td valign="top" class="name"><label for="employeeID">employee ID:</label></td>
+                        <td valign="top" class="value ${hasErrors(bean:person,field:'employeeID','errors')}">
+                            <input type="text" id="employeeID" name="employeeID" value="${person.employeeID?.encodeAsHTML()}"/>
+                        </td>
+                    </tr>
+
+					<tr class="prop">
+						<td valign="top" class="name" align="left">Assign Roles:</td>
+					</tr>
+
+					<g:each in="${authorityList}">
+					<tr>
+						<td valign="top" class="name" align="left">${it.authority.encodeAsHTML()}</td>
+						<td align="left"><g:checkBox name="${it.authority}"/></td>
+					</tr>
+					</g:each>
+
+				</tbody>
+				</table>
+			</div>
+
+			<div class="buttons">
+				<span class="button"><input class="save" type="submit" value="Create" /></span>
+			</div>
+
+		</g:form>
+
+	</div>
+</body>
Index: branches/TaskRewrite/src/grails-app/views/person/edit.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/person/edit.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/person/edit.gsp	(revision 59)
@@ -0,0 +1,125 @@
+<head>
+	<meta name="layout" content="main" />
+	<title>Edit Person</title>
+</head>
+
+<body>
+
+	<div class="nav">
+		<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+		<span class="menuButton"><g:link class="list" action="list">Person List</g:link></span>
+		<span class="menuButton"><g:link class="create" action="create">New Person</g:link></span>
+	</div>
+
+	<div class="body">
+		<h1>Edit Person</h1>
+		<g:if test="${flash.message}">
+		<div class="message">${flash.message}</div>
+		</g:if>
+		<g:hasErrors bean="${person}">
+		<div class="errors">
+			<g:renderErrors bean="${person}" as="list" />
+		</div>
+		</g:hasErrors>
+
+		<div class="prop">
+			<span class="name">ID:</span>
+			<span class="value">${person.id}</span>
+		</div>
+
+		<g:form>
+			<input type="hidden" name="id" value="${person.id}" />
+			<input type="hidden" name="version" value="${person.version}" />
+			<div class="dialog">
+				<table>
+				<tbody>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="loginName">Login Name:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'loginName','errors')}">
+							<input type="text" id="loginName" name="loginName" value="${person.loginName?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="firstName">Full Name:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'firstName','errors')}">
+							<input type="text" id="firstName" name="firstName" value="${person.firstName?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+                    <tr class="prop">
+                        <td valign="top" class="name"><label for="lastName">Full Name:</label></td>
+                        <td valign="top" class="value ${hasErrors(bean:person,field:'lastName','errors')}">
+                            <input type="text" id="lastName" name="lastName" value="${person.lastName?.encodeAsHTML()}"/>
+                        </td>
+                    </tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="password">Password:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'password','errors')}">
+							<input type="password" id="password" name="password" value="${person.password?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="isActive">isActive:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'isActive','errors')}">
+							<g:checkBox name="isActive" value="${person.isActive}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="description">Description:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'description','errors')}">
+							<input type="text" id="description" name="description" value="${person.description?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="email">Email:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'email','errors')}">
+							<input type="text" id="email" name="email" value="${person?.email?.encodeAsHTML()}"/>
+						</td>
+					</tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="emailShow">Show Email:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'emailShow','errors')}">
+							<g:checkBox name="emailShow" value="${person.emailShow}"/>
+						</td>
+					</tr>
+
+                    <tr class="prop">
+                        <td valign="top" class="name"><label for="employeeID">employee ID:</label></td>
+                        <td valign="top" class="value ${hasErrors(bean:person,field:'employeeID','errors')}">
+                            <input type="text" id="employeeID" name="employeeID" value="${person.employeeID?.encodeAsHTML()}"/>
+                        </td>
+                    </tr>
+
+					<tr class="prop">
+						<td valign="top" class="name"><label for="authorities">Authorities:</label></td>
+						<td valign="top" class="value ${hasErrors(bean:person,field:'authorities','errors')}">
+							<ul>
+							<g:each var="entry" in="${roleMap}">
+								<li>${entry.key.authority.encodeAsHTML()}
+									<g:checkBox name="${entry.key.authority}" value="${entry.value}"/>
+								</li>
+							</g:each>
+							</ul>
+						</td>
+					</tr>
+
+				</tbody>
+				</table>
+			</div>
+
+			<div class="buttons">
+				<span class="button"><g:actionSubmit class="save" value="Update" /></span>
+				<span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+			</div>
+
+		</g:form>
+
+	</div>
+</body>
Index: branches/TaskRewrite/src/grails-app/views/person/list.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/person/list.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/person/list.gsp	(revision 59)
@@ -0,0 +1,60 @@
+<head>
+	<meta name="layout" content="main" />
+	<title>Person List</title>
+</head>
+
+<body>
+
+	<div class="nav">
+		<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+		<span class="menuButton"><g:link class="create" action="create">New Person</g:link></span>
+	</div>
+
+	<div class="body">
+		<h1>Person List</h1>
+		<g:if test="${flash.message}">
+		<div class="message">${flash.message}</div>
+		</g:if>
+		<div class="list">
+			<table>
+			<thead>
+				<tr>
+					<g:sortableColumn property="id" title="Id" />
+					<g:sortableColumn property="loginName" title="Login Name" />
+					<g:sortableColumn property="firstName" title="First Name" />
+                    <g:sortableColumn property="lastName" title="Last Name" />
+                    <g:sortableColumn property="isActive " title="isActive" />
+					<th>&nbsp;</th>
+                    <th>&nbsp;</th>
+				</tr>
+			</thead>
+			<tbody>
+			<g:each in="${personList}" status="i" var="person">
+				<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
+					<td>${person.id}</td>
+					<td>${person.loginName?.encodeAsHTML()}</td>
+					<td>${person.firstName?.encodeAsHTML()}</td>
+                    <td>${person.lastName?.encodeAsHTML()}</td>
+					<td>${person.isActive?.encodeAsHTML()}</td>
+					<td class="actionButtons">
+						<span class="actionButton">
+							<g:link action="show" id="${person.id}">Show</g:link>
+						</span>
+					</td>
+                    <td class="actionButtons">
+                        <span class="actionButton">
+                            <g:link action="edit" id="${person.id}">Edit</g:link>
+                        </span>
+                    </td>
+				</tr>
+			</g:each>
+			</tbody>
+			</table>
+		</div>
+
+		<div class="paginateButtons">
+			<g:paginate total="${Person.count()}" />
+		</div>
+
+	</div>
+</body>
Index: branches/TaskRewrite/src/grails-app/views/person/show.gsp
===================================================================
--- branches/TaskRewrite/src/grails-app/views/person/show.gsp	(revision 59)
+++ branches/TaskRewrite/src/grails-app/views/person/show.gsp	(revision 59)
@@ -0,0 +1,92 @@
+<head>
+	<meta name="layout" content="main" />
+	<title>Show Person</title>
+</head>
+
+<body>
+
+	<div class="nav">
+		<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
+		<span class="menuButton"><g:link class="list" action="list">Person List</g:link></span>
+		<span class="menuButton"><g:link class="create" action="create">New Person</g:link></span>
+	</div>
+
+	<div class="body">
+		<h1>Show Person</h1>
+		<g:if test="${flash.message}">
+		<div class="message">${flash.message}</div>
+		</g:if>
+		<div class="dialog">
+			<table>
+			<tbody>
+
+				<tr class="prop">
+					<td valign="top" class="name">ID:</td>
+					<td valign="top" class="value">${person.id}</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">Login Name:</td>
+					<td valign="top" class="value">${person.loginName?.encodeAsHTML()}</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">First Name:</td>
+					<td valign="top" class="value">${person.firstName?.encodeAsHTML()}</td>
+				</tr>
+
+                <tr class="prop">
+                    <td valign="top" class="name">Last Name:</td>
+                    <td valign="top" class="value">${person.lastName?.encodeAsHTML()}</td>
+                </tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">isActive:</td>
+					<td valign="top" class="value">${person.isActive}</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">Description:</td>
+					<td valign="top" class="value">${person.description?.encodeAsHTML()}</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">Email:</td>
+					<td valign="top" class="value">${person.email?.encodeAsHTML()}</td>
+				</tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">Show Email:</td>
+					<td valign="top" class="value">${person.emailShow}</td>
+				</tr>
+
+                <tr class="prop">
+                    <td valign="top" class="name">Employee ID:</td>
+                    <td valign="top" class="value">${person.employeeID}</td>
+                </tr>
+
+				<tr class="prop">
+					<td valign="top" class="name">Authorities:</td>
+					<td valign="top" class="value">
+						<ul>
+						<g:each in="${roleNames}" var='name'>
+							<li>${name}</li>
+						</g:each>
+						</ul>
+					</td>
+				</tr>
+
+			</tbody>
+			</table>
+		</div>
+
+		<div class="buttons">
+			<g:form>
+				<input type="hidden" name="id" value="${person.id}" />
+				<span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
+				<span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
+			</g:form>
+		</div>
+
+	</div>
+</body>
