fixed submit functionality and removed search button