SOLVED:
@PostMapping("/register") String registration(@ModelAttribute MyUser user) { userService.registerUser(user); return "/activate_account"; }