added search, added routes