cleaned up back end code, added search landing page