- change return data in api controller to dynamic