         initialized
 
       afterAppStart: (app)->
+
         base.me     = rawFetch('me', true);
         base.app    = rawFetch('app', true);
         base.org    = rawFetch('org', true);
-        app.core.mediator.emit('hull.currentUser', app.core.currentUser)
+
+        app.core.mediator.emit  'hull.currentUser', app.core.currentUser
+        app.core.mediator.on    'hull.currentUser', clearModelsCache
+
     module

            $.cookie(cookieName, val, path: "/")
            if currentUserId != headers['Hull-User-Id']
              app.core.currentUser = {
                id: headers['Hull-User-Id'],
                sig: headers['Hull-User-Sig']
              }
              app.core.mediator.emit('hull.currentUser', app.core.currentUser)
          else
            $.removeCookie(cookieName, path: "/")
            app.core.currentUser = false
            app.core.mediator.emit('hull.currentUser', app.core.currentUser)

          app.sandbox.config ?= {}
          app.sandbox.config.curentUser = app.core.currentUser


        # Clears the cache
        app.core.mediator.on 'hull.currentUser', (hasUser)->
          if (!hasUser)
            models = _.pick(models, 'me', 'app', 'org')


        #

          , 30000)

        onRemoteReady = (remoteConfig)->
          data = remoteConfig.data

          if data.headers && data.headers['Hull-User-Id']
            app.core.currentUser = {
              id:   data.headers['Hull-User-Id'],
              sig:  data.headers['Hull-User-Sig']
            }

          window.clearTimeout(timeout)
          app.config.assetsUrl            = remoteConfig.assetsUrl
          app.config.services             = remoteConfig.services
          app.config.widgets.sources.hull = remoteConfig.baseUrl + '/widgets'
