public static void handleLogIn(User newUser) {
        
        user = newUser;
        titleField.setText(titleField.getText() + "| Logged in as: " + newUser.fullName);
        removePanel();
        
        switch (user.utype){        
        case Student:
            //Load the Student StudentGUIPanel
            StudentGUIPanel student = new StudentGUIPanel();
            loadButtonPanel(student);
            break;
            
        case Lecturer:
            //Load the Student LecturerGUIPanel
            LecturerGUIPanel lecturer = new LecturerGUIPanel();
            loadButtonPanel(lecturer);
            break;
            
        case ModuleLeader:
            //Load the Student ModuleLeaderGUIPanel
            ModuleLeaderGUIPanel moduleLeader = new ModuleLeaderGUIPanel();
            loadButtonPanel(moduleLeader);
            break;
        }

    }