public function saveSession()
{
$session = array("loggedInUser" => $this->getLoggedInUser(), "cookies" => $this->getCookies(), "csrfToken" => $this->getCSRFToken(), "rankToken" => $this->getRankToken(), "phoneId" => $this->getPhoneId(), "deviceId" => $this->getDeviceId(), "guid" => $this->getGUID(), "uuid" => $this->getUUID(), "googleAdId" => $this->getGoogleAdId());
return json_encode($session);
}