@RequestMapping(method = RequestMethod.POST, value = "signup")
    private String createCustomerAndLogin(@RequestParam(value = "username") String login,
                                          @RequestParam(value = "password") String password,
                                          @RequestParam(value = "firstName") String firstName,
                                          @RequestParam(value = "lastName") String lastName,
                                          @RequestParam(value = "email") String email, Model model) {
        try {
            User user = appContext.getUserService().createUserAndLogin(login, password, firstName, lastName, email);
            model.addAttribute("loggedUser", user);

        } catch (DaoException e) {
            //TODO redirect error page
            e.printStackTrace();
        }
        return REDIRECT_PREFIX + "/";
    }