renamed search route to 'search'