added checks for having appropriate variables set, and enabled fetching gist data upon page load if the token is saved

closes #6