var mongoose = require('mongoose');


var usersSchema = mongoose.Schema({
  username: { type: String, required: true },
  password: { type: String, required: true },
  images: { type: Array },
  galleries: { type: Array },
  createdAt: { type: Date, default: Date.now },
});


usersSchema.methods.getGallery = function(gallery) {
  
};

usersSchema.methods.createGallery = function(data) {
  
};

usersSchema.methods.getGalleries = function() {

};

usersSchema.methods.createScreenshot = function() {

};

var User = mongoose.model('User', usersSchema);

module.exports = User;
@@ -30,16 +30,53 @@
 ose');%0A%0A
+//TODO --%3E set username to be unique%0A
 %0Avar use

add todo on userModel