fixed up navigation:  no navbar on dialogs, navbar on pages depends on whether signed in & whether an admin