Update chat page

Change to HTTPS and clean page of unnecessary code