made a form to search on enter key