OK, this is a super noob question:
I was just checking out the Orchard Gallery and the link:
returns different data depending if you are logged on or not. If you are logged in it displays your access key and if you are not it displays a Log On (part?) dialog on part of the page.
Since the gallery is running Orchard, I assume this is stock Orchard functionality and not some custom modification.
I have to imagine that lots of people want this functionality and I would really appreciate it if someone would indulge me by walking through how it was done using baby steps.