             }
         })
         
-        indicatorView.center = view.center
-        indicatorView.activityIndicatorViewStyle = .Gray
-        indicatorView.hidesWhenStopped = true
-        indicatorView.startAnimating()
-        view.addSubview(indicatorView)
+        
         
         searchController.searchResultsUpdater = self
         searchController.searchBar.delegate = self

                
            } else {
                
                self.showMessage("You will be switched to cache-only mode", title: "Network is unreachable")
                self.indicatorView.stopAnimating()
                // TODO: swifch to cache-only mode
            }

                // auth needed
                VKSdk.authorize(scope)
            } else if state == VKAuthorizationState.Error {
                self.showMessage("You're now switched to cache-only mode. Refresh to retry.", title: "Failed to authorize")
                // TODO: Handle appropriately
            } else if error != nil {
                fatalError(error.description)
