search query on input value on first load