- my $user = User->new(login => $::myconfig{login});
- $::request->{layout} = SL::Layout::Dispatcher->new(style => $user->{menustyle});
+ SL::Dispatcher::AuthHandler::User->new->handle(countrycode => $::myconfig{countrycode});
+
+ $::request->layout(SL::Layout::Dispatcher->new(style => $::myconfig{menustyle}));