add common(req, res, next) middleware support