Better close HTML on oauth complete

Closes popup and refreshes main page
Merge pull request #5 from brendannee/patch-1

Better close HTML on oauth complete