Added POST data to send to Herokuand check for Wifi connectivity