@RequestMapping(value = Route.registerUser, method = RequestMethod.POST, consumes = Key.formEncoded)
public String registerUser(Locale locale, Model model,
@ModelAttribute(Key.regUserForm) UserRO userRO) {
try {
User u = userRO.user(props);
Validity validity = userService.validate(u);
if (validity.isValid()) {
userService.registerUser(u, request);
mailSenderActor.sendUserEmailIdConfirmationMail(u);
request.getSession(true).setAttribute(Key.userInSession, u);
model.addAttribute(Key.isRegister, true);
return Key.redirect + Route.dashboard;