Added section on connect middleware