Making sure the https is used on deployed