make BaseController for the whole base application