mgr.saveUser(registerData);
user = mgr.saveUser(registerData);   Category cat = new Category();  cat.setTitle(this.getStandardCategoryTitle()); cat.setUser(user); cat.setHtmlColor(this.getStandardCategoryHTMLColor()); mgr.setupNewUser(user,cat,this.standardFeeds);
	public ModelAndView onSubmit(HttpServletRequest request, 									HttpServletResponse response, 									Object command, BindException errors) 	throws Exception { 		RegisterCommand userFormCmd = (RegisterCommand) command;		User registerData = userFormCmd.getUser();				// check if username exists		User user =  mgr.checkUser(registerData.getUsername());		if (user != null) {			// if it exists return error message			//return new ModelAndView(new RedirectView(getFormView()), "messageRegister",  getMessageSourceAccessor().getMessage("register.usernaAlreadyExists"));			errors.rejectValue("user.username", "username exists", null, getMessageSourceAccessor().getMessage("register.usernaAlreadyExists")); 			return showForm(request, response, errors); 		} else {			// if not create user and goto login screen			mgr.saveUser(registerData);			//return new ModelAndView(new RedirectView(getSuccessView())); 			return new ModelAndView(getSuccessView(), "user", registerData);		}			} 