added connect-cache as middleware