move to api controller use Future