server offline mode functionality