added search form auto submit functionality