private boolean checkStudentLogin(HttpServletRequest request) {
        System.out.println("MSS: checkStudentLogin()");
        String matricNum = request.getParameter("matricNum");
        String password = request.getParameter("password");
        Vector student = mrsb.getStudent(matricNum);
        //System.out.println(student);
        if (student != null) {
            if (mrsb.checkPassword((String) student.get(2), password)) {
                loggedInAs = (String) student.get(1);
                matricNumber = (String) student.get(0);
                return true;
            }
        }
        return false;
    }