define Meteor methods on server only to avoid client simulation errors