add api controller