code: public function main() {
  
          $config = $this->app['config']['auja'] ?: $this->app['config']['auja-laravel::config'];
  
          $authenticationForm = $this->app['auja']->authenticationForm(
              $config['title'],
              $this->app['url']->route('auja.support.login', [], false)
          );
  
          $username = ($this->app['auth']->user() == null) ? null : $this->app['auth']->user()->name;
  
          $main = $this->app['auja']->main(
              $config['title'],
              $this->app['auth']->check(),
          	$username,
              $this->app['url']->route('auja.support.logout', [], false),
          	$authenticationForm
          );
  
          $main->setColor(Main::COLOR_MAIN, $config['color']['main']);
          $main->setColor(Main::COLOR_ALERT, $config['color']['alert']);
          $main->setColor(Main::COLOR_SECONDARY, $config['color']['secondary']);
  
          return new JsonResponse($main);
      }
docs: Returns the Auja main manifest containing information about the login state, theme of the interface
  and the tabs on the side bar.
  
  @return \Illuminate\Http\Response json response with the auja main manifest