refactored permissions model
permissions for editing page
updated octokit