@RequestMapping(value = "/register", method = RequestMethod.POST)
    public String processRegistrationForm(Model model, @ModelAttribute("registerForm") RegisterForm registerForm)
    {
        if (formProcessor.register(model, registerForm)){
            return "redirect:/login";
        } else {
            return "register";
        }
    }