$::form->{login} = $::myconfig{login};
$::locale = Locale->new($::myconfig{countrycode}) if $::myconfig{countrycode};
my $user = User->new(login => $::myconfig{login});
+ $::request->{layout} = SL::Controller::Layout->new(style => $user->{menustyle});
# if we get an error back, bale out
my $result = $user->login($::form);