private static void requestAction() {
		Scanner keyboard;
		int selection = -1;

		System.out.println("\nWelcome to the auto registration system");
		while (true) {
			System.out.println("\nPlease select from the following:");
			System.out.println("\t1: New Vehicle Registration");
			System.out.println("\t2: Auto Transaction");
			System.out.println("\t3: Driver License Registration");
			System.out.println("\t4: Violation Record");
			System.out.println("\t5: Search Engine");
			System.out.println("\t6: Exit");

			// Requests selection from user
			keyboard = new Scanner(System.in);
			try {
				selection = keyboard.nextInt();
			} catch (InputMismatchException e) {
				System.out.println("Invalid option");
				continue;
			}
			// Searches for user's selection
			if (selection == 1) {
				System.out
						.println("You have selected new vehicle registration");
				NewVehicle.vehicleRegistration(conn);
			} else if (selection == 2) {
				System.out.println("You have selected auto transaction");
				VehicleTransaction.autoTransaction(conn);
			} else if (selection == 3) {
				System.out
						.println("You have selected driver licence registration");
				NewLicence.licenceRegistration(conn, "-1", "-1");
			} else if (selection == 4) {
				System.out.println("You have selected violation record");
				Violation.violationRecord(conn);
			} else if (selection == 5) {
				System.out.println("You have selected search engine");
				Search.searchEngine(conn);
			} else if (selection == 6) {
				System.out.println("Connection to database will now close");
				try {
					conn.close();
					System.exit(0);
				} catch (SQLException e) {
					System.out.println("Could not close database connection");
					return;
				}
			} else
				System.out.println("Selection not valid, please try again");
		}
	}