add all to api controller