Added wifi status reading