Added setting for API keys and automated the oauth steps if insufficient authentication data