added search route and view