Server Work 1.2

Changed around some of the functions. Now the page will check for
internet connection upon loading.