added connectivitymanager to context