export setGithubAuth function and update documentation for getPermlink