add connect core middleware examples