Fix readme and middleware order