remove unnecessary middleware and add forgotten modules app