How to reactively get logged in user without blaze?

I am trying to retrieve if a user is logged in within a Polymer component without Blaze. I am trying to show different content based on whether user is true or false. However I can’t seem to get reactive updates on the user with something like:

var user; Tracker.autorun(function () { user = Meteor.user(); }); return user;

Any hints how I could do it?

That code should work perfectly. I don’t know much about polymer though, maybe it’s not catching the change?

Yea, sort of.

It seems like tracker wouldn’t run when defined in a property via a function (not sure if that’s because how properties are defined in Polymer or an incompatibility Polymer/Meteor). So instead of defining a function within the loggedIn property that ran tracker I instead am running it once the component gets attached.

  loggedIn: {
    type: Boolean,
    value: false

  attached: function() {
    var self = this;
    Tracker.autorun(function () {
      self.loggedIn = Meteor.user();