user/matches controller for api