created search logic in homecontroller, created search view, updated routes with search