check that Meteor.userId is defined