add early bird middleware