add logout button for github
Fix scope issues with vars