Hi,

I'd like to flag various pages in my site as being only valid if the user is logged in. I've an action which creates a popup login/registration dialog and ideally I'd like to tie to two together so that pages that are flagged as requiring a user will display the popup login/registration dialog. 
Has anyone developed anything like this before or any thoughts on how to hook into Pier to provide the required behaviour?

Thanks

Nick