Removing encodeHTML's from places that use handlebars templates, to avoid double encoding
Making the permissions url more flexible