Created basic search endpoint