Twitter.sharedInstance().logInWithCompletion{session,errorinif(session!=nil){print("signed in as \(session!.userName)");self.performSegueWithIdentifier("timeline",sender:session)}else{print("error: \(error!.localizedDescription)");}}