add active resource response to retrieve response headers in order to use the pagination