fix user login by github bug