Hi ae,
If you're using type 3 authentication, then you can't log out using album.pl. That would require album.pl to modify or delete eBlah cookies, which is not a good thing. To log out of the album, just log out of eBalh.
You can add a logout link to the templates manually, just have it go to your eBlah logout page...
As for allowing only admins to see the Upload button, try this... Edit album_header.tml, and change:
<a href="#\###ALBUMPROG#\###;function=upload"class="optionslink"><img class="button" src="#\###CONFIG=upload_button#\###" alt="" /></a>
to:
HTML
if ($isadmin)
{
$menubuild.=<<HTML;
<a href="#\###ALBUMPROG#\###;function=upload"class="optionslink"><img class="button" src="#\###CONFIG=upload_button#\###" alt="" /></a>
HTML
}
$menubuild.=<<HTML;
If you're using text menus, you'll have to change the text upload link instead (above this one).
Hope that helps.
Cheers