static void Main() {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());

            User u = new User();
            u.setPassword("pasword");
            u.setUsername("usrnm");
            UsersWrapper wrapper = new UsersWrapper();
            List<User> users = new List<User>();
            users.Add(u);
            wrapper.setUsers(users);
            XMLManager.writeUsers(wrapper);
        }
 public static void addUser(User user) {
     UsersWrapper usersList = readUsers();
     usersList.getUsers().Add(user);
     writeUsers(usersList);
 }