checks for network connectivity. if not connected stays on landing page ...

...until user refreshes