added search and users to api