configure internet permission and app_id