private void button1_Click(object sender, RoutedEventArgs e)
        {
            client = new RepositoryServiceClient();
            string username = textBox1.Text;
            string password = passwordBox1.Password;

            status=client.AuthenticateUser(username, password);
            if (status == true)
            {
                this.Close();
                m.username = username;
                m.Visibility = Visibility.Visible;

            }
            else
            {
                MessageBox.Show("Invalid Credentials");
            }
        }
        //Populates the ListBox on the CLient UI with new Packages Information whenever Changes are Made.
        private void PopulateListBox()
        {
            try
            {
                client = new SoftwareRepositoryService.RepositoryServiceClient();

                SoftwareRepositoryService.PackageInfo[] p = client.GetPackages();
                foreach (PackageInfo pi in p)
                {
                    Dispatcher.Invoke(new Action<PackageInfo>(AddListBoxItems), new object[] { pi });
                }
            }
            catch(Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }