add functionality to check for wifi connection at all times

also removed extraneous serial prints