leverage rack req/res and process with resource