use Modern::Perl;
-use C4::Auth qw(:DEFAULT get_session);
+use C4::Auth qw( get_template_and_user );
use CGI qw ( -utf8 );
use C4::Context;
-use C4::Output;
-use C4::Log;
-use C4::Items;
+use C4::Output qw( output_html_with_http_headers );
use C4::Search::History;
-use URI::Escape;
-use POSIX qw(strftime);
my $cgi = CGI->new;