code: @RequestMapping(value = "/insert", method = RequestMethod.POST)
  	public @ResponseBody
  	void insert(
  			@RequestParam(value = "username", required = true) String username,
  			@RequestParam(value = "name", required = false) String name,
  			@RequestParam(value = "surname", required = false) String surname,
  			@RequestParam(value = "telephoneNumber", required = true) String telephoneNumber,
  			@RequestParam(value = "verificationText", required = true) String verificationText,
  			HttpServletRequest request, HttpServletResponse response) {
  
  		logger.debug("Received a request to insert an account");
  
  		// validate captcha
  		Boolean isResponseCorrect = false;
  		String sessionId = request.getSession().getId();
  
  		// Call the Service method
  		try {
  			isResponseCorrect = captchaService.validateResponseForID(sessionId,
  					verificationText);
  			if (isResponseCorrect == false) {
  				response.sendError(500, "Provided captcha text was wrong.");
  				return;
  			}
  		} catch (Exception e) {
  			e.printStackTrace();
  			return;
  		}
  
  		accountService.insert(new Account(username, name, surname,
  				telephoneNumber));
  
  	}
docs: Handles request for saving / updating account