         // Set our endpoint for the user data
         let endpoint = "data/" + userId;
         
+        UIApplication.sharedApplication().networkActivityIndicatorVisible = true
         sendRequest(Method.GET, endpoint: endpoint).responseJSON { (request, response, result) -> Void in
+            UIApplication.sharedApplication().networkActivityIndicatorVisible = false
             if ( result.isSuccess ) {
                 let json = JSON(result.value!)
                 completion(Result.Success(json))

        }
        
        // 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?
