update github token and login on sign in