Add search and ping endpoints