changed oauth method to redirects