As always, I was trying to make this more complicated than necessary. In fact, I didn't need to make any changes in your PHP script, at all. On the public side, I put a link to the private side where the calendar gets edited. When that link is clicked, the login form pops up. If the user puts in a v...