StudentGUIPanel(){
        setBackground(Color.WHITE);
        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
        
        /*
         *Sets up Buttons
         */
        QuizScreen= new JButton("Take A Quiz");
        Results= new JButton("View Results");
        Exit= new JButton("Exit");

        add(Box.createRigidArea(new Dimension(5,100)));
        add(QuizScreen);
        add(Box.createRigidArea(new Dimension(5,10)));
        add(Results);
        add(Box.createRigidArea(new Dimension(5,400)));
        add(Exit);
        
               
        ActionListener QuizScreenListener = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
                GUI.removePanel();
                GUI.loadPanel(new QuizRunner.QuizTakingPanel());
            }
        };
     
             
        ActionListener ResultsListener;
        ResultsListener = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
                GUI.removePanel();
                Results.QuizesTaken panel = new Results.QuizesTaken(GUI.user.dbId);
                GUI.loadPanel(panel.completeQuizes);
            }
        };
        
        
        ActionListener ExitListener = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
                mainFrame.dispose();
            }
        };
    
            
        //log_in.addActionListener(actionListener1);
        QuizScreen.addActionListener(QuizScreenListener);
        Results.addActionListener(ResultsListener);
        Exit.addActionListener(ExitListener);
    }