SessionManager::isLoggedIn(), 'time_remaining' => SessionManager::getTimeRemaining() ]; echo json_encode($response);