add api base controller