     options.template = Houston._houstonize(options.template)
     options.layoutTemplate = null
     options.path = "#{Houston._ROOT_ROUTE}#{options.houston_path}"
+    options.waitOn = ->
+      ready: -> !Meteor.loggingIn() and Houston._subscribe('admin_user').ready()
+    options.action = -> if @ready() then @render()
     @route Houston._houstonize_route(route_name), options
 
   houston_route 'home',


Router.onBeforeAction mustBeAdmin,
  only: (Houston._houstonize_route(name) for name in ['home', 'collection', 'document', 'change_password'])
Router.onAfterAction hide_non_admin_stuff,
  only: (Houston._houstonize_route(name) for name in ['home', 'collection', 'document', 'login', 'custom_template'])
Router.onBeforeAction remove_host_css,
  only: (Houston._houstonize_route(name) for name in ['home', 'collection', 'document', 'login'])

# filters
# ########
mustBeAdmin = ->
  if @ready() and not Houston._user_is_admin Meteor.userId()
    @stop()
    Houston._go 'login'

# If the host app doesn't have a router, their html may show up
hide_non_admin_stuff = ->
