add api controller for mobile