only try to update gist when logged in, and create gist if update gist fails
record code license in post YAML