attempting user query function on search view