don't show edit ui if the user isn't logged in

this regressed quite some time ago, actually.