added wifi permissions to manifest, I forgot that everything breaks without those.