private void Btn_back_Click(object sender, EventArgs e)
        {
            this.Hide();
            Admin_menu ad = new Admin_menu(admin_id);

            ad.Show();
        }
        public Boolean logInAdmin(string dataObjects, string email, string password)
        {
            List <Admins> admins = JsonConvert.DeserializeObject <List <Admins> >(dataObjects);

            for (int x = 0; x < admins.Count; x++)
            {
                Admins a = admins[x];
                if (a.email == email && a.password == password)
                {
                    Admin_menu am = new Admin_menu(a._id);
                    am.Show();
                    return(true);
                }
            }
            MessageBox.Show("Napačni email ali pa geslo");
            return(false);
        }