added vpn functionality