public int run() {
		reset();
		draw();
		boolean finished = false;
		while(!finished){
			String option = getInput();
			if (option.equals("<")) {
				finished = true;
			}
			if (option.equals("c")) {
				listAllProducts = false;
				listBox.setLine(1, " | | List all products (a)");
				listBox.setLine(2, " |X| List products by customer login (c)         customer: |_________");
				draw();
				String customer = getInput();
				if (customer.equals("<")) {
					finished = true;
				}
				while (!checkCustomer(customer)) {
					updateStatus(customer + " is not a valid customer login, please enter another. ");
					draw();
					customer = getInput();
					if (customer.equals("<")) {
						return ADMIN;
					}
				}
				updateStatus("");
				listBox.setLine(2, " |X| List products by customer login (c)         customer: " + customer);
				customerLogin = customer;
				curPage = 1;
			} else if (option.equals("a")) {
				listBox.setLine(1, " |X| List all products (a)");
				listBox.setLine(2, " | | List products by customer login (c)         customer: __________");
				listAllProducts = true;
				curPage = 1;
			}  else if (option.startsWith("p")) {
				option = option.substring(1, option.length());
				curPage = Integer.parseInt(option);
			}
			listProducts();
			draw();
		}
		return ADMIN;
	}