Added redirect capabilities to oAuth