     /**
      * Sends a request to the specified endpoint
     */
-    func sendRequest(requestType: (Alamofire.Method)? = Method.GET,
+    private func sendRequest(requestType: (Alamofire.Method)? = Method.GET,
         endpoint: (String),
         parameters: [String: AnyObject]? = nil,
         headers: [String: String]? = nil) -> (Request)

        }
        
        // Post the request.
        self.sendRequest(Method.GET, endpoint:endpoint).responseJSON { (request, response, result) -> Void in
            if ( result.isSuccess ) {
                NSLog("Session token updated")
                self.sessionToken = response!.allHeaderFields[APIConnector.kSessionIdHeader] as! String?

        let headers = ["Authorization" : "Basic " + base64LoginString!]
        
        // Send the request and deal with the response as JSON
        UIApplication.sharedApplication().networkActivityIndicatorVisible = true
        sendRequest(Method.POST, endpoint: endpoint, headers:headers).responseJSON { (request, response, result) -> (Void) in
            UIApplication.sharedApplication().networkActivityIndicatorVisible = false
            if ( result.isSuccess ) {
                // Look for the auth token
                self.sessionToken = response!.allHeaderFields[APIConnector.kSessionIdHeader] as! String?
