implemented method to extend req
moved policy into hook
updated tests