code: function removeUserFromProject(user, project) {
  		return sharedProject.findOne({'location': project}).exec()
  		.then(function(doc) {
  			return sharedProject.findOneAndUpdate({'location': project}, {$pull: {'users': { $in: [user]}} }, {
  				safe: true,
  				w: 'majority'
  			}).exec();
  		});
  	}
docs: Remove user from project's user list.