added ability to press enter for search