* @return the Restlet to handle requests
*/
public Restlet createRoot() {
Router router = new Router();
EditableUserDAO eud = (EditableUserDAO) getApplicationContext()
.getBean("userDetailsService");
// router.attach("/roles", new UserRestlet("Role Management Page"));
router.attach("/user.{type}", new UserFinder(router.getContext(), eud));
router.attach("/user", new UserFinder(router.getContext(), eud));
router.attach("/user/{name}.{type}", new UserFinder(router.getContext(), eud));