api new controller