Made a sample middleware in Chapter 8.