private void addStudent() {
        try {
            System.out.println("Add Student Account:");
            System.out.println();
            System.out.print("Enter matric number: ");
            String matricNum = sc.nextLine();
            boolean isNewStudent = mrsb.isNewStudent(matricNum);
            if (isNewStudent) {
                System.out.print("Enter name: ");
                String name = sc.nextLine();
                System.out.print("Enter default password: ");
                String password = sc.nextLine();
                System.out.print("Enter email: ");
                String email = sc.nextLine();
                mrsb.createStudent(matricNum, name, password, email);
                System.out.println("Student Account for " + name + " has been added.");
            } else {
                System.out.println("Sorry, this student account already exists!");
            }
        } catch (Exception ex) {
            System.err.println("Caught unexpected exception.");
            ex.printStackTrace();
        }
    }