Removed duplicate function. Also removed Meteor.userId() calls from Meteor methods.