Slight changes to OAuth

Added documentation and took out close browser.