updated readme to include middleware chain