Error checking for missing user_token and secret_key