adding base controller