move layout template loader to front router