Added search submit button. Improved search submit function