public static void main(final String args[]) {
        UserListRoot list = new UserListRoot();
        User u = new User();
        u.setName("danny");
        u.setPassword("danny");
        u.setPhoneNumber("123243");
        u.setType(0);

        User u2 = new User();
        u2.setName("aly");
        u2.setPassword("aly");
        u2.setPhoneNumber("123243");
        u2.setType(0);
        list.getUserList().add(u);
        list.getUserList().add(u2);

        UserXMLHandler usHandler = new UserXMLHandler();
        try {
            //            usHandler.writeToFile(list);
            UserListRoot list2 = (UserListRoot)usHandler.readFromFile();
            System.out.println(list2.getUserList().get(0).getName());
        } catch (JAXBException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (SAXException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }