add different controller for api