added new query link
started working on single-inmate page
 working on single-inmate page