Fix issue with log in with GitHub but need more error handle after