public long getUserID(String userName) {
		try {
			connection.connect();
			connection.executeQuery(CHECK_CONTACT + "'" + userName.toLowerCase() + "'");
			if (connection.next()) {
				return Long.parseLong((String) connection.getString("ID"));
			}
		} catch (Exception e) {
			System.out.println(e);
			System.out.println("Ocurrio un error al tratar de conectarse.");
		} finally {
			try {
				connection.close();
			} catch (UGDBDisconnectException e) {
				e.printStackTrace();
			}
		}
		return 0;
	}