Fixed urls

Also renamed key, secret to app_id, app_secret