added search endpoint skeleton