Investigation into the failure of agencies to manage registered sex offenders