@Override
	protected void selectOption(int option) {
		if (getLogin().isLoggedIn()) {
			switch (option) {
				case Constants.COURSE_CATALOG:
					getCourseCatalog().show();
					break;
				case Constants.MY_COURSE_SCHEDULE:
					getMyCourseSchedule().show();
					break;
				case Constants.LOGOUT:
					getLogin().setLoggedIn(false);
					getLogin().setStudent(null);
					System.out.println();
					System.out.println(Constants.LOGOUT_SUCCESS);
					show(true);
					break;
				case Constants.QUIT:
					quit();
				default:
					System.out.println(Constants.INVALID_OPTION);
					getSingleInstance().show(true);
					break;
			}
		}
		else {
			switch (option) {
				case Constants.COURSE_CATALOG:
					getCourseCatalog().show();
					break;
				case Constants.STUDENT_ACCOUNT_LOGIN:
					getLogin().show();
					break;
				case Constants.NEW_STUDENT_ACCOUNT:
					getNewStudentAccount().show();
					break;
				case Constants.QUIT:
					quit();
				default:
					System.out.println(Constants.INVALID_OPTION);
					getSingleInstance().show(true);
					break;
			}
		}
	}