      
      - parameter entityType:        The entity name, eg "node".
      - parameter entityId:          The ID of the entity to get.
-     - parameter completionHandler: A completion handler that your delegate method should call if you want the response
+     - parameter completionHandler: A completion handler that your delegate method should call if you want the response.
 
      */
     public func get(entityType:String, entityId:String, completionHandler:completion) {

        self.basicUsername = ""
        self.basicPassword = ""
        self.signRequestsBasic = false
        self.endpoint = ""
    }
    /**
     Allows a username and password to be set
     */
    public func setUserNameAndPassword(username:String, password:String) {
        let diosManager = DIOS.sharedInstance
        diosManager.basicUsername = username
        diosManager.basicPassword = password
        diosManager.signRequestsBasic = true
    }

    // MARK: - Requests 

    public func sendRequest(path:String, method:Alamofire.Method, params:paramType, completionHandler:completion) {
        let diosManager = DIOS.sharedInstance

            let base64String = credentialData.base64EncodedStringWithOptions(NSDataBase64EncodingOptions([]))
            
            headers["Authorization"] = "Basic \(base64String)"
        }
        if (diosManager.signCSRFToken == true) {
            headers["X-CSRF-Token"] = diosManager.CSRFToken
        }
        Alamofire.request(method, urlString, parameters: params, encoding:.JSON, headers:headers).validate().responseSwiftyJSON({ (request, response, json, error) in
            switch response!.result {
