implement github login and netrc