Added first middleware