Linking search_query to user