pass req object to complete callback