   struct Card {
     let cardView: CardView
     let swipeView: SwipeView
+    let user: User
   }
   
   let frontCardTopMargin: CGFloat = 0.0

    return CGRect(x: 0, y: topMargin, width: cardStackView.frame.width, height: cardStackView.frame.height)
  }
  
  private func createCard(topMargin: CGFloat) -> Card {
    let cardView = CardView()
    let swipeView = SwipeView(frame: createCardFrame(topMargin))
    swipeView.delegate = self
    swipeView.innerView = cardView
    return Card(cardView: cardView, swipeView: swipeView)
  }
}


    
    // Do any additional setup after loading the view.
    cardStackView.backgroundColor = UIColor.clearColor()
        
    fetchUnviewedUsers({
      users in
      self.users = users
