private void createUserClick(object sender, EventArgs e)
        {
            UserDatabaseOperation user = new UserDatabaseOperation();

            user.addUser(usernameReg.Text, passwordReg.Text, freeOrNot.Checked);
            fda.showNewFormAndCloseOld(this, new LoginForm());
        }
        private void login(object sender, EventArgs e)
        {
            UserDatabaseOperation user = new UserDatabaseOperation();

            if (user.validateLogin(username.Text, password.Text))
            {
                fda.showNewFormAndCloseOld(this, new CreateUsageForm());
            }
            else
            {
                MessageBox.Show("Der skete en fejl! prøv igen.");
            }
        }