private void eventLogin(String command) {
		UILogin UI = ((UILogin) display.getUI());
		
		UI.warningClear();
		switch (command.charAt(0)) {
		case 'N':// Num0-Num9
			UI.codeAddNum(Integer.parseInt(command.substring(3, 4)));
			break;
		case 'C':// Clear
			UI.codeClear();
			break;
		case 'B':// Back
			UI.codeBack();
			break;
		case 'L':// Login
			String codeSTR = UI.getCode();
			if (codeSTR.length() > 0) {
				int code = Integer.parseInt(codeSTR);
				Employee e = database.employee().getEmployee(code);
				if (e != null) {
					login(e);
					UI.codeClear();
				} else {
					UI.warningBadCode();
				}
			}
			break;

		}
	}