public ArrayList<String> GetDevices(int userID) throws Exception {
		_resultList = new ArrayList<String>();
		try {
			// This will load the MySQL driver, each DB has its own driver
			Class.forName("com.mysql.jdbc.Driver");
			// Setup the connection with the DB
			_connect = DriverManager.getConnection(_url, _user, _password);
			// PreparedStatements can use variables and are more efficient
			String sql = "SELECT * FROM devices WHERE users_id = ?";
			_preparedStatement = _connect.prepareStatement(sql);
			_preparedStatement.setInt(1, userID);
			_resultSet = _preparedStatement.executeQuery();

			while (_resultSet.next()) {
				String DevName = _resultSet.getString("name");
				_resultList.add(DevName);
			}

		} catch (Exception e) {
			throw e;
		} finally {
			close();
		}
		return _resultList;
	} // End getDevices