changes to search and user apis