added oauth + instructions, implemented it on the site
refactored oauth.php and implemented it in the website