GitHub login is now working!

Code is not DRY but it works!