     var password: String?
     
     /// Creates a new User
-    init(name: String, email: String, password: String? = nil) {
+    init(name: String, email: String, password: String? = nil, imageUrl: String? = nil, userTagsIds: [Int64]? = nil, userPostsIds: [Int64]? = nil) {
         self.name = name
         self.email = email
         self.password = password
+        self.imageUrl = imageUrl
+        self.userTagsIds = userTagsIds
+        self.userPostsIds = userPostsIds
     }
     
     // MARK: Row

    /// The name of the user
    var name: String
    
    /// The user's email
    var email: String
    

        try row.set("name", name)
        try row.set("email", email)
        try row.set("password", password)
        try row.set("imageUrl", imageUrl)
        try row.set("userTagsIds", userTagsIds)
        try row.set("userPostsIds", userPostsIds)
        return row
    }
}
