private void BtnStudentSettings_Click(object sender, EventArgs e)
        {
            //check if i am a student or not using admin
            //if student pass my data to next screen

            if (isAdmin)
            {
                //index 0 == true=1 / false=0        (binary - true / false)
                //index 1 == studentNum             (string converted to int)

                int[] result = getStudentById();

                if (result[0] == 1)
                {
                    System.Data.DataTable dt = ws.getUserById(result[1]);
                    User studentUser         = dtFunc.getOneUserFromDt(dt);
                    //User studentUser = userLogic.getUserById(result[1]);
                    if (studentUser.Id != -1)
                    {
                        //set retrieved data
                        StudentSettings.isAdmin = isAdmin;
                        StudentSettings.user    = studentUser;

                        //move between forms
                        StudentSettings ss = new StudentSettings();
                        ss.Show();
                        this.Hide();
                    }
                    else
                    {
                        MessageBox.Show("error retrieving user from db");
                    }
                }
            }
            else
            {
                //set data
                StudentSettings.isAdmin = isAdmin;
                StudentSettings.user    = currentUser;

                //move between forms
                StudentSettings ss = new StudentSettings();
                ss.Show();
                this.Hide();
            }
        }