Changed index.html styling and added alerts for connection status messages.