moved getUserParams func into the router so results view page can be re-rendered with same results if need be