public User(String name, int max_channel, int user_id, byte[] password) {
        Name = name;
        MaxChannel = max_channel;
        UserID = user_id;
        Password = password;
        Channel = new Channel[max_channel];
        for (int i = 0; i < max_channel; i++) {
            Channel[i] = new Channel(user_id, i);
        }
    }