private void loginSuccess() {
		if (user != null) {
			System.out.println("username: " + user.getUsername());
			this.setVisible(false);
			if (user.getRole().equals("Tutor")) {
				TutorGUI tutorGUI = new TutorGUI(user);
				tutorGUI.setSize(880, 500);
				tutorGUI.setLocation(250, 100);
				tutorGUI.setTitle("Debate");
				tutorGUI.setVisible(true);
			} else if(!user.getRole().equals("Tutor") && user.getRole() != null) {
				DebateListGUI debateListGUI = new DebateListGUI(user);
				debateListGUI.setLocation(250, 100);
				debateListGUI.setTitle("Debates");
				debateListGUI.setVisible(true);
			}
		} else {
			System.out.println("user is null");
		}
	}