added authentication for requests made by the plugin