starting activity api functionality for search page