added client static middleware