get search query from GET data