added search routes and UI, with POST