main page search working