Updated version of connected.html