Added error messaging on submitting search form