changed github login to an async task