function _fetchSettings() {
          Settings.load()
            .then(function (settings) {
              $log.debug("MainController:_fetchSettings: =>", settings)
              $rootScope.konga_settings_id = settings.length ? settings[0].id : null
              $rootScope.konga_settings = settings.length ? settings[0].data : {};
            });
        }
Route state change start event, this is needed for following:
 1) Check if user is authenticated to access page, and if not redirect user back to login page