Make ssl independent

Make the site work better with https or http so there is no mixed resources causing dialogs and issues with browsers