added connect middleware and now using connect