create api request service + revert flash messages