my $cgi = new CGI; print $cgi->header(); # get the User, or go to login page my $user = new GWAK::User() or GWAK::User->redirect_to_login(GWAK::User->errstr); print $user->page_start();