don't allow print if you're not logged in
You can currently print even if you're not logged in. What it does is download a file with an error message. (at least this is google chrome). I think I've got my file ready to go only to open it later and realize it's an error message that I haven't logged in. Can you just do a quick check to see if the user is logged in before printing or allowing you to edit a lesson?