remove post middleware
base controller and some default middleware