Added login and admin requirements for export.