Implemented query parameters in linkTo helper