added working wifi to rails communication