US resumes visas for foreign students but demands access to social media accounts