Added sample web connection code