public Mainframe(Controller ctrl) throws ClassNotFoundException, SQLException, IOException {
        control = ctrl;

        initComponents();

        control.setTitle(this);
        control.createGUIBasedOnAccessLevel(control.getUser().getAccessLevel(), tabPane, control);
        //control.initiateAutoUpdates(this); // This method is not fully developed yet

    }