private ArrayList addCustomer(HttpServletRequest request) {
        ArrayList al = new ArrayList();
        String passport = request.getParameter("passport");
        String name = request.getParameter("name");
        String password = request.getParameter("password");
        String postal = request.getParameter("postal");
        int phone = Integer.parseInt(request.getParameter("phone"));
        String email = request.getParameter("email");

        if (passport.equals(null) || name.equals(null) || password.equals(null) || email.equals(null)) {
            return al;
        }
        
        password = hashpw(password);
        
        boolean ctl = shsmb.createMember(passport, name, password, postal, phone, email);
        if (ctl==true) {
           al.add(passport);
        al.add(name);
        al.add(password);
        al.add("Customer added successfully.");
        return al; 
        } else {
            al.add("nil");
        al.add("nil");
        al.add("nil");
        al.add("Registatration fail, passport is already registered. pls use another one.");
        return al;
        }
        
    }