newUser.setPriviledge("standard");
newUser.setEnabled(true);
System.out.println(newUser.toString());
Users savedUser = usersService.save(request.getParameter("un"),newUser);
Preferences prefs = new Preferences();
prefs.setUserID(savedUser.getId());
prefs.setColors(ColorScheme.valueOf("BLACK_ON_WHITE").toString());
prefs.setSort(SortingMethod.valueOf("ALPHA_ASCENDING").toString());
preferenceService.save(prefs);
String relativeWebPath = "WEB-INF/notesRepo";
String absoluteDiskPath = getServletContext().getRealPath(relativeWebPath);
File directory = new File(absoluteDiskPath + "/" + newUser.getId());