CHCVBZ3WBZCEKONAGDOESRYO6AKRNZ2VFIJH2GUZD6LXOXDNOVZAC
if($username eq "" && $password eq "" && ! defined $c->flash->{afterLogin}) {
my $baseurl = $c->uri_for('/');
my $refurl = $c->request->referer;
$c->flash->{afterLogin} = $refurl if $refurl =~ m/^($baseurl)/ ;
if ($username eq "" && $password eq "" && ! defined $c->flash->{referer}) {
my $baseurl = $c->uri_for('/');
my $refurl = $c->request->referer;
$c->flash->{referer} = $refurl if $refurl =~ m/^($baseurl)/;