finalized instagram demo_search func