             var attempt: Attempt? = nil
             if let json = json {
                 attempt = TPModelMapper<Attempt>().mapFromJSON(json: json)
-                print(attempt?.questionsUrl ?? "Error")
+                debugPrint(attempt?.questionsUrl ?? "Error")
                 guard attempt != nil else {
                     completion(nil, TPError(message: json, kind: .unexpected))
                     return

    
    static func authenticate(username: String, password: String,
                             completion: @escaping (TPAuthToken?, TPError?) -> Void) {
        let parameters: Parameters = ["username": username, "password": password]
        apiCall(endpointProvider: TPEndpointProvider(.authenticateUser), parameters: parameters,
                completion: { json, error in

            json, error in
            var attempt: Attempt? = nil
            if let json = json {
                attempt = TPModelMapper<Attempt>().mapFromJSON(json: json)
                debugPrint(attempt?.questionsUrl ?? "Error")
                guard attempt != nil else {
                    completion(nil, TPError(message: json, kind: .unexpected))
