     }
     
     public static func request(command: String, parameters: Parameters, callback: Callback) {
-        let object = storage.object(forKey: authTokenStorageKey)
-        let token: String = (object != nil) ? ":\(object as! String)" : ""
+        let objToken = storage.object(forKey: Keys.AUTH_TOKEN.rawValue)
+        let token: String = (objToken != nil) ? ":\(objToken as! String)" : ""
+        
+        
+        let objPlayer = storage.object(forKey: Keys.SESSION_PLAYER_ID.rawValue)
+        let player: String = (objPlayer != nil) ? ":\(objPlayer as! String)" : ""
         
         let headers: HTTPHeaders = [
-            "Authorization": "\(ID)\(token)"
+            "Authorization": "\(ID)\(token)\(player)"
         ]
         
         Alamofire.request("\(HOST_ADDRESS)\(command)", method: .post, parameters: parameters, encoding: JSONEncoding.default, headers: headers).responseJSON { response in

    }
    
    public static func hasAuthToken() -> Bool {
        return storage.object(forKey: authTokenStorageKey) != nil
    }
    
    private class AuthTokenCallback: Callback {

        
        public func onResponse(responseCode: Int, response: NSDictionary) {
            if(responseCode == 200) {
                storage.set(response["token"], forKey: Keys.AUTH_TOKEN.rawValue)
            }
            callback.onResponse(responseCode: responseCode, response: response)
        }
    }
    
    private class CreateSessionCallback: Callback {
        
        private var username: String
        private var callback: Callback
        
        public init(username: String, callback: Callback) {
            self.username = username
            self.callback = callback
        }
        
        public func onResponse(responseCode: Int, response: NSDictionary) {
            if(responseCode == 200) {
                storage.set(username, forKey: Keys.SESSION_USERNAME.rawValue)
                storage.set(response["sessionID"], forKey: Keys.SESSION_ID.rawValue)
                storage.set(response["playerID"], forKey: Keys.SESSION_PLAYER_ID.rawValue)
                storage.set(response["modToken"], forKey: Keys.SESSION_MOD_TOKEN.rawValue)
                storage.set(response["userToken"], forKey: Keys.SESSION_PLAY_TOKEN.rawValue)
            }
            callback.onResponse(responseCode: responseCode, response: response)
        }
        
    }
}
