Adding base controller and setting all controllers to use the base controller