Search form handling added.