basic middleware setup in own middleware class