added two new routes
fixed search