MainViewController controls the Server status that if available or not. If not available gives alert message