             finishedSelector: #selector(ProfileViewController.viewController(_:finishedWithAuth:error:))
         )
     }
+    
     
     // Handle completion of the authorization process, and update the Gmail API
     // with the new credentials.

    // When the view appears, ensure that the Gmail API service is authorized
    // and perform API calls
    override func viewDidAppear(animated: Bool) {
        if let authorizer = service.authorizer,
            canAuth = authorizer.canAuthorize where canAuth {
            print(canAuth)
            connectedStatus.text = "Connected!"
            connectGmail.setTitle("Disconnect", forState: .Normal)
        }

    // Creates the auth controller for authorizing access to Gmail API
    private func createAuthController() -> GTMOAuth2ViewControllerTouch {
        let scopeString = scopes.joinWithSeparator(" ")
        
        return GTMOAuth2ViewControllerTouch(
            scope: scopeString,
            clientID: kClientID,
