judge if user's nework is wifi or 3G