showing edit button and derive a copy link in published content that the...

... user owns
Same issue here with evaluating the session id only once.