private void btnLogIn_Click(object sender, EventArgs e)
        {
            p = service.LogIn(txtUsername.Text, txtPassword.Text);
            if (p != null)
            {
                pnlLogin.Visible = false;
                panelLoggedIn.Visible = true;
                lblLogInStatus.Text = "Logged in as " + p.Username;
                txtPassword.Text = "";
                txtUsername.Text = "";
                btnMyLists.Enabled = true;
                }
            else
            {
                MessageBox.Show("Login mislykkedes, prøv igen");
            }

        }
 public Form1()
 {
     p = null;
     InitializeComponent();
 }