makes it work
adds user query to results page