             response in
             self.parseData(JSONData: response.data!)
             let cardPicked = self.pickRandomCard(array: self.cards)
-            print(cardPicked)
+            print(cardPicked.createdBy.email)
         })
     }
 

                let isTitleVisible = item["is_title_visible"] as! Bool
                let image = item["image"] as? String
                let secondaryText = item["secondary_text"] as? String
                let createdBy = User.parse(item["created_by"] as? NSDictionary)
                let updatedBy = User.parse(item["updated_by"] as? NSDictionary)
                let author = item["author"] as! String
                cards.append(Card.init(id: cardId, title: title, isTitleVisible: isTitleVisible, text: text, secondaryText: secondaryText, image: image, createdBy: createdBy, updatedBy: updatedBy, author: author))
                

    let isActive: Bool
    let email: String
    
    static func parse(dictionary: NSDictionary!) -> User{
        var username: String = ""
        var firstName: String = ""
        var lastName: String = ""
        var isStaff: Bool = false
        var isActive: Bool = false
        var email: String = ""
        
        if let parsedUser = dictionary {
            username = parsedUser["username"] as! String
            firstName = parsedUser["first_name"] as! String
            lastName = parsedUser["last_name"] as! String
            isStaff = parsedUser["is_staff"] as! Bool
            isActive = parsedUser["is_active"] as! Bool
            email = parsedUser["email"] as! String
        }
        
        return User(username: username, firstName: firstName, lastName: lastName, isStaff: isStaff, isActive: isActive, email: email)
    }
}

