 
     $gmUrlsProvider.setUrls("api", apiUrls)
 
-
-init = ($rootScope, $location, $gmStorage, $gmAuth, $gmUrls, $i18next, $gmConfig, localconfig, $data, $log, $favico) ->
+assignInitialConstants = ($rootScope) ->
     $rootScope.pageTitle = ""
-    $rootScope.auth = $gmAuth.getUser()
-
     $rootScope.constants = {}
 
     $rootScope.constants.usStatuses = {}

        $gmStorage.clear()
        $location.url("/login")

    $i18next.initialize($gmConfig.get("defaultLanguage"))

    $rootScope.$on "i18n:change", (event, lang) ->
        if lang


    $rootScope.constants.users = {}

assignNavegationUrls = ($rootScope) ->
    conditionalUrl = (url, raw) ->
        return url if raw
        return "/##{url}"

    $rootScope.baseUrls = {
        projects: "/"
        backlog: "/project/%s/backlog"
        kanban: "/project/%s/kanban"
