code: function removeProjectFromUser(user, project) {
  		return userProject.findOneAndUpdate({username: user}, {$pull: {'sharedProjects': { $in: [project]}} }, {
  			safe: true,
  			w: 'majority'
  		}).exec();
  	}
docs: Removes a project from a user's shared projects.