var mongoose = require('mongoose'),
  Schema = mongoose.Schema;

var user = new Schema({
  _id: String,
  name: String,
  email: String,
  office: String,
  phone: String,
  mobile: String,
  roles: [String],
  lastVisitedOn: Date,
  forms: [String],
  travelers: [String],
  subscribe: {
    type: Boolean,
    default: false
  }
});

var User = mongoose.model('User', user);
module.exports = {
  User: User
};
@@ -55,16 +55,52 @@
 e.Schema
+,%0A  ObjectId = Schema.Types.ObjectId
 ;%0A%0Avar u
@@ -267,30 +267,32 @@
 ,%0A  forms: %5B
-String
+ObjectId
 %5D,%0A  travele
@@ -292,30 +292,32 @@
 travelers: %5B
-String
+ObjectId
 %5D,%0A  subscri

update user model to use objectid