did you check the console? it looks like loggedIn is not in scope so it should be undefined. Using if(Roles.userIsInRole(Meteor.userId(), 'admin')) might work though.
!! will coerce the expression after it into a boolean, the first ! negates it (making it false and doing it again negates the first negate making it true). So essentially you’re passing true/false into the function instead of the user object.