var BaseController = RouteController.extend({
});

var LoggedInController = BaseController.extend({
  onBeforeAction: function() {
    console.log('user filter?');
  }
});

Router.map(function() {
  this.route('home', {path: '/'});
  this.route('overview');

  this.route('playlists', {
    data: {
      playlists: function() {
        return Playlists.find({});
      }
    }
  });
  this.route('playlist', {
    path: '/playlist/:_id',
    notFoundTemplate: 'playlistNotFound',
    data: function() {
      return Playlists.findOne(this.params._id);
    }
  });

  this.route('loved');
  this.route('friends');
});
@@ -483,16 +483,36 @@
    data:
+ %7B%0A      'playlist':
  functio
@@ -513,24 +513,26 @@
 unction() %7B%0A
+  
       return
@@ -568,16 +568,25 @@
 s._id);%0A
+      %7D,%0A
     %7D%0A  

improve router